cuda.utils: foo <c-object> ... foo memory>struct == foo <struct>
parent
a228e575a5
commit
097100cb12
|
@ -92,3 +92,5 @@ ERROR: throw-cuda-error n ;
|
|||
: function-shared-size ( n -- )
|
||||
[ cuda-function get ] dip
|
||||
cuFuncSetSharedSize cuda-error ;
|
||||
|
||||
: distribute-jobs ( job-count per-job-shared -- grid-size block-size per-block-shared )
|
||||
|
|
Loading…
Reference in New Issue