Handbook
Glossary
prefix_sum_block ( in out n grid -- )
Vocabulary
cuda
.
demos
.
prefix-sum
Inputs
in
an
object
out
an
object
n
an
object
grid
an
object
Outputs
None
Definition
USING:
alien.c-types
alien.syntax
cuda.libraries
locals.backend
;
IN:
cuda.demos.prefix-sum
:
prefix_sum_block
( in out n grid -- )
"prefix-sum"
"prefix_sum_block"
{
pointer:
uint
pointer:
uint
uint
}
3
load-locals
-2
get-local
-1
get-local
0
get-local
cuda-invoke
3
drop-locals
;
inline