Joe Groff
|
7f8e55760d
|
improve cuda library organization
|
2010-05-20 14:40:26 -07:00 |
Joe Groff
|
567ab15274
|
cuda: move init-cuda from cuda.utils
|
2010-05-15 15:28:02 -07:00 |
Joe Groff
|
cb589c1f73
|
cuda: more API cleanups:
- remove useless with-cuda and with-cuda-program combinators
- eliminate redundant cuda-device, cuda-context variables
- rearrange arguments of with-*cuda-context to ( device flags quot -- )
- don't pass context to with-cuda-context quot
- add context-device word to ask for current device
|
2010-05-15 11:47:19 -07:00 |
Joe Groff
|
8cbc74ffe1
|
cuda: add "cuda.gl" vocab with words for cuda/opengl/gpu interop
|
2010-05-14 16:00:27 -07:00 |
Joe Groff
|
4b7ed99982
|
cuda: in with-cuda-context, sync context when cleaning up so that destroying context doesn't fail due to asynchronous errors
|
2010-05-14 16:00:27 -07:00 |
Slava Pestov
|
095c9543e9
|
cuda.utils: fix load error
|
2010-05-10 20:50:28 -04:00 |
Joe Groff
|
949ea98a69
|
cuda.devices: "distribute-jobs" utility word that determines grid and block size for a job based on per-thread shared memory requirements and max block size
|
2010-05-07 18:02:42 -07:00 |
Joe Groff
|
24b244a8ff
|
cuda: fix using single integer as grid size
|
2010-05-05 19:07:39 -07:00 |
Joe Groff
|
544fa00abf
|
cuda: rearrange function-launcher grid and block dim to be in the right order
|
2010-05-05 17:38:37 -07:00 |
Joe Groff
|
aa152758f8
|
cuda: streamline memory api
|
2010-05-03 18:18:10 -07:00 |
Doug Coleman
|
61a91cc416
|
Sprinkle init-cuda everywhere you could conceivably need it!
|
2010-04-23 23:17:47 -05:00 |
Doug Coleman
|
47ddf60b80
|
move cuda.utils library words to cuda.libraries
|
2010-04-23 14:43:13 -05:00 |
Doug Coleman
|
28c775381d
|
remove init-cuda from a combinator because it's a startup-hook now
|
2010-04-23 14:29:24 -05:00 |
Doug Coleman
|
5d3b8ed678
|
Run hello-world on each CUDA device. fix a bug with returning the hello world string. add with-each-cuda-device combinator to run a program on each device. add an init-hook for cuda-init
|
2010-04-23 14:29:24 -05:00 |
Doug Coleman
|
97e4c20da3
|
Split up cuda vocab some more, make CUDA-LIBRARY: work
|
2010-04-19 00:46:26 -05:00 |
Doug Coleman
|
50b3b15150
|
CUDA-FUNCTION: works, splitting up CUDA into more vocabs
|
2010-04-18 18:34:46 -05:00 |
Doug Coleman
|
62e88476ec
|
Working on a CUDA api. Add a hello world program.
|
2010-04-14 21:10:28 -05:00 |
Doug Coleman
|
f2e3b4b4c8
|
Playing around with a higher-level CUDA api. Also, changed some char* to c-string in cuda.ffi
|
2010-04-13 02:32:07 -07:00 |