Joe Groff
|
e286a8daef
|
cuda.devices: factor "context-device cuda-device-properties" into a "context-device-properties" word
|
2010-05-16 17:16:27 -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
|
077cd0397b
|
cuda.devices: fix distribute-jobs to look only at width of maxThreadsDim
|
2010-05-07 18:15:37 -07:00 |
Joe Groff
|
6d41ea32f5
|
cuda.devices: have distribute-jobs construct a launcher with the calculated grid-dim, block-dim, and shared-size
|
2010-05-07 18:09:21 -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
|
a228e575a5
|
cdua.devices: remove redundant init-cuda calls
|
2010-05-07 17:16:28 -07:00 |
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
|
6b2024055f
|
Move some code to cuda.devices
|
2010-04-19 01:21:36 -05:00 |