Commit Graph

12 Commits (0cfc48479eeba37185b3ec187277ef6bf413eb8f)

Author SHA1 Message Date
Joe Groff 1a3fd1dc8c improve cuda library organization 2010-05-20 14:40:26 -07:00
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
Slava Pestov d1e2554ebf cuda.utils: fix load error 2010-05-10 20:50:28 -04:00
Joe Groff 6d30ce485c cuda.utils: add "sync-context" word 2010-05-10 15:06:15 -07: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 097100cb12 cuda.utils: foo <c-object> ... foo memory>struct == foo <struct> 2010-05-07 17:18:08 -07:00
Doug Coleman 095763bcee Move cuda.devices word out of cuda.utils 2010-04-23 18:27:13 -05:00
Doug Coleman b34c75a6a3 move cuda.utils library words to cuda.libraries 2010-04-23 14:43:13 -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 6b2024055f Move some code to cuda.devices 2010-04-19 01:21:36 -05:00
Doug Coleman 1624903ae1 Split up cuda vocab some more, make CUDA-LIBRARY: work 2010-04-19 00:46:26 -05:00