Commit Graph

12 Commits (c9ee580d857e6ff1c62a7d5cecca8122f23dba93)

Author SHA1 Message Date
Joe Groff aa80bb060d cuda.libraries, cuda.syntax: support for both 32- and 64-bit CUDA pointer abis. make CUDA-LIBRARY: read the abi as part of the library definition 2010-05-20 17:56:45 -07:00
Joe Groff 2542bb42cf cuda.libraries: rename "function-launcher" to "grid", 2<<< to <grid>, 3<<< to <grid-shared>, 4<<< to <grid-shared-stream> 2010-05-20 14:59:27 -07:00
Joe Groff 7f8e55760d improve cuda library organization 2010-05-20 14:40:26 -07:00
Joe Groff c93596bb7b cuda.demos.prefix-sum: add init-cuda 2010-05-15 15:01:32 -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 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 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 f86227913c make host>device only take one parameter, add 2<<< for calling cuda functions where shared-memory is 0, simplify hello-world example 2010-04-23 14:29:23 -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 25f4d90f92 Fix the ptx path in cuda demo 2010-04-18 20:52:09 -05:00
Doug Coleman 50b3b15150 CUDA-FUNCTION: works, splitting up CUDA into more vocabs 2010-04-18 18:34:46 -05:00