Commit Graph

28 Commits (ad69052a1a1442e7c3fd8ebe8983279466f839f5)

Author SHA1 Message Date
Doug Coleman cc546c3a94 init-cuda in a couple more places... 2010-04-23 23:19:26 -05:00
Doug Coleman 8d76f2e612 Sprinkle init-cuda everywhere you could conceivably need it! 2010-04-23 23:17:47 -05:00
Doug Coleman 095763bcee Move cuda.devices word out of cuda.utils 2010-04-23 18:27:13 -05:00
Doug Coleman 8323332838 Compile the .cu file with a relative pathname instead of absolute 2010-04-23 15:06:43 -05:00
Doug Coleman b8c10dc2cd Add using 2010-04-23 14:43:48 -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 d6036b6d5b 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
Joe Groff a848b4b0c5 Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor 2010-04-20 16:43:58 -07:00
Joe Groff b71933f4d7 cuda.ptx: better representation of operands 2010-04-20 13:51:10 -07:00
Joe Groff 4bc915d526 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Joe Groff 1e7cc1613e Merge branch 'master' of factorcode.org:/git/factor 2010-04-19 00:40:30 -07:00
Joe Groff 717dd1b10e cuda.ptx: unit tests for instruction serialization 2010-04-19 00:40:10 -07: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
Doug Coleman eb3c6f414b Fix the ptx path in cuda demo 2010-04-18 20:52:09 -05:00
Doug Coleman 5c17e6ee98 CUDA-FUNCTION: works, splitting up CUDA into more vocabs 2010-04-18 18:34:46 -05:00
Joe Groff 23cf6413dc cuda.ptx: some unit tests 2010-04-18 11:59:37 -07:00
Joe Groff 0f2f54a195 cuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust output of some insns 2010-04-17 16:10:53 -07:00
Joe Groff f2de2222c7 cuda: AST representation for PTX code 2010-04-17 15:58:51 -07:00
Joe Groff 8501d5649e cuda: add a single-block prefix sum sample kernel (so doug has a more substantive kernel to test with) 2010-04-16 16:42:46 -07:00
Joe Groff 8f56108702 cuda.ffi: add CUDA versions of double, longlong, ulonglong that always 8-byte align, and a >cuda-param-type function we can use to make structs that match kernel param space layout 2010-04-15 14:46:13 -07:00
Doug Coleman c392ff2718 Working on a CUDA api. Add a hello world program. 2010-04-14 21:10:28 -05:00
Slava Pestov e1ee2c82ea cuda: 'not tested' tag 2010-04-13 18:44:10 -07: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
Joe Groff a46c624123 missed LIBRARY: cuda in cuda.ffi 2010-04-12 17:45:30 -07:00
Joe Groff de50d0bfda cuda.ffi binding 2010-04-12 17:37:06 -07:00