Memory

Standard library class internal.gpu.Memory View source
class Memory
@tuple
class Memory[T]
Fields 1
T type
Constructors 1
__new__
__new__(ptr: cobj)
Defined in internal.gpu
Properties 1
ptr
@property
ptr(self)
Defined in internal.gpu
Methods 1
to_ptr
@pure @llvm
to_ptr(p: CUdeviceptr)
Defined in internal.gpu
%0 = inttoptr i64 %p to ptr
ret ptr %0