Joe Groff
|
c1dbce85bb
|
cuda: move init-cuda from cuda.utils
|
2010-05-15 15:28:02 -07:00 |
Joe Groff
|
22e853ecb0
|
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
|
f9a8e90c41
|
cuda: add "cuda.gl" vocab with words for cuda/opengl/gpu interop
|
2010-05-14 16:00:27 -07:00 |
Joe Groff
|
afdced0183
|
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
|
d1e2554ebf
|
cuda.utils: fix load error
|
2010-05-10 20:50:28 -04:00 |
Joe Groff
|
f26a5836e6
|
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
|
fb619ec928
|
cuda: fix using single integer as grid size
|
2010-05-05 19:07:39 -07:00 |
Joe Groff
|
1d916246b0
|
cuda: rearrange function-launcher grid and block dim to be in the right order
|
2010-05-05 17:38:37 -07:00 |
Joe Groff
|
152da8c93c
|
cuda: streamline memory api
|
2010-05-03 18:18:10 -07:00 |
Doug Coleman
|
8d76f2e612
|
Sprinkle init-cuda everywhere you could conceivably need it!
|
2010-04-23 23:17:47 -05:00 |
Doug Coleman
|
b34c75a6a3
|
move cuda.utils library words to cuda.libraries
|
2010-04-23 14:43:13 -05:00 |
Doug Coleman
|
8ae600124c
|
remove init-cuda from a combinator because it's a startup-hook now
|
2010-04-23 14:29:24 -05:00 |
Doug Coleman
|
656f8987a1
|
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
|
1624903ae1
|
Split up cuda vocab some more, make CUDA-LIBRARY: work
|
2010-04-19 00:46:26 -05:00 |
Doug Coleman
|
5c17e6ee98
|
CUDA-FUNCTION: works, splitting up CUDA into more vocabs
|
2010-04-18 18:34:46 -05:00 |
Doug Coleman
|
c392ff2718
|
Working on a CUDA api. Add a hello world program.
|
2010-04-14 21:10:28 -05:00 |
Doug Coleman
|
81c1e9fcb4
|
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 |