Handbook
Glossary
CUdevprop
Vocabulary
cuda
.
ffi
Definition
USING:
alien.c-types
classes.struct
;
IN:
cuda.ffi
STRUCT:
CUdevprop
{
maxThreadsPerBlock
int
initial:
0
}
{
maxThreadsDim int[3]
}
{
maxGridSize int[3]
}
{
sharedMemPerBlock
int
initial:
0
}
{
totalConstantMemory
int
initial:
0
}
{
SIMDWidth
int
initial:
0
}
{
memPitch
int
initial:
0
}
{
regsPerBlock
int
initial:
0
}
{
clockRate
int
initial:
0
}
{
textureAlign
int
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
cuda.ffi
kernel
;
M:
CUdevprop
clone
clone-underlying
\
CUdevprop
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
cuda.ffi
;
M:
CUdevprop
struct-slot-values
{
[
maxThreadsPerBlock>>
]
[
maxThreadsDim>>
]
[
maxGridSize>>
]
[
sharedMemPerBlock>>
]
[
totalConstantMemory>>
]
[
SIMDWidth>>
]
[
memPitch>>
]
[
regsPerBlock>>
]
[
clockRate>>
]
[
textureAlign>>
]
}
cleave>array
;
inline