Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadSpheroid committed Aug 1, 2024
1 parent ecbd8ce commit 91cc44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2024-07-14-ExploringFurther.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ Then, using the GPU is almost pointless, unless you use the same data over and o
"Well, cant I just load the data on the GPU directly?"
Thats not possible, atleast not to my knowledge. This is the tradeoff with GPUs.
On a CPU, you have 4/8/16 highly specialised and capable cores(math, I/O), while on the GPU you have 1000s of some very primitive math operations(only math, no I/O)
On a CPU, you have 4/8/16 highly specialised and capable cores(math, I/O), while on the GPU you have 1000s of some very primitive cores only capable of basic operations(only math, no I/O)
So you always have to load it into CPU RAM first and then go to GPU RAM.
So how can we fix this problem?
Well, one of the options is to use Shared Virtual Memory(OpenCL SVM), which enables the GPU to directly access CPU RAM and play with CPU pointers.
However, I still have yet to test SVM in the context of gnuastro, to see if its useful.
Besides, SVM also fixes the problem of structs containing pointers(for another post).
Documentation for OpenCL is already sparse, and to add insult to injury, documentation on OpenCL SVM is even more sparse.
Documentation for OpenCL is already scarce, and to add insult to injury, documentation on OpenCL SVM is even more scarce.
But I like the challenge...

0 comments on commit 91cc44e

Please sign in to comment.