Handbook
Glossary
block-dim ( block-size -- x y z )
Vocabulary
cuda
.
libraries
.
private
Inputs
block-size
an
object
Outputs
x
an
object
y
an
object
z
an
object
Definition
IN:
cuda.libraries.private
GENERIC:
block-dim
( block-size -- x y z )
foldable
flushable
Methods
USING:
cuda.libraries.private
math
;
M:
integer
block-dim
1 1
;
inline
USING:
combinators
cuda.libraries.private
kernel
sequences
;
M:
sequence
block-dim
dup
length
{
{
0
[
drop
1 1 1
]
}
{
1
[
first
1 1
]
}
{
2
[
first2
1
]
}
[
drop
first3
]
}
case
;
inline