Handbook
Glossary
helloWorld ( string-ptr grid -- )
Vocabulary
cuda
.
demos
.
hello-world
Inputs
string-ptr
an
object
grid
an
object
Outputs
None
Definition
USING:
alien.c-types
alien.syntax
cuda.libraries
locals.backend
;
IN:
cuda.demos.hello-world
:
helloWorld
( string-ptr grid -- )
"hello"
"helloWorld"
{
pointer:
char
}
3
load-locals
-2
get-local
-1
get-local
0
get-local
cuda-invoke
3
drop-locals
;
inline