double4


Vocabulary
cuda.types

Definition
USING: alien.c-types classes.struct ;

IN: cuda.types

STRUCT: double4
{ x double initial: 0.0 } { y double initial: 0.0 }
{ z double initial: 0.0 } { w double initial: 0.0 } ;


Methods
USING: classes.struct classes.struct.private cuda.types kernel ;

M: double4 clone clone-underlying \ double4 memory>struct ;
inline


USING: accessors classes.struct combinators combinators.smart
cuda.types ;

M: double4 struct-slot-values
[ { [ x>> ] [ y>> ] [ z>> ] [ w>> ] } cleave ] output>array
; inline