Doug Coleman
|
300138eb4d
|
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
|
2011-09-29 11:28:28 -07:00 |
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
|
1c07f69833
|
cuda.libraries, cuda.syntax: factor generated CUDA-FUNCTION: word bodies into a "cuda-invoke" macro; add CUDA-GLOBAL: for referencing global symbols
|
2010-05-20 15:45:35 -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
|
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
|
0961fed70f
|
cuda.memory, cuda.syntax: inline some more words, add cuda-malloc-type word that allocates n*heap-size bytes of memory
|
2010-05-04 19:46:53 -07:00 |
Doug Coleman
|
441856e119
|
Add using
|
2010-04-23 14:43:48 -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
|
50b3b15150
|
CUDA-FUNCTION: works, splitting up CUDA into more vocabs
|
2010-04-18 18:34:46 -05:00 |