Handbook
Glossary
run-grid ( grid function -- )
Vocabulary
cuda
.
libraries
Inputs
grid
an
object
function
an
object
Outputs
None
Definition
USING:
accessors
combinators
cuda.libraries.private
kernel
;
IN:
cuda.libraries
:
run-grid
( grid function -- )
swap
{
[
dim-block>>
block-dim
function-block-shape
]
[
shared-size>>
function-shared-size
]
[
dim-grid>>
[
grid-dim
launch-function-grid
]
[
launch-function
]
if*
]
}
2cleave
;
inline