|
|
|||
|
|
|
CUDAMemoryAllocate | ![]() |
gives CUDAMemory with specified type and single dimension. |
gives CUDAMemory with specified type and dimensions. |
| Integer | Real | Complex | |
| "Byte" | "Bit16" | "Integer32" | |
| "Byte[2]" | "Bit16[2]" | "Integer32[2]" | |
| "Byte[3]" | "Bit16[3]" | "Integer32[3]" | |
| "Byte[4]" | "Bit16[4]" | "Integer32[4]" | |
| "UnsignedByte" | "UnsignedBit16" | "UnsignedInteger" | |
| "UnsignedByte[2]" | "UnsignedBit16[2]" | "UnsignedInteger[2]" | |
| "UnsignedByte[3]" | "UnsignedBit16[3]" | "UnsignedInteger[3]" | |
| "UnsignedByte[4]" | "UnsignedBit16[4]" | "UnsignedInteger[4]" | |
| "Double" | "Float" | "Integer64" | |
| "Double[2]" | "Float[2]" | "Integer64[2]" | |
| "Double[3]" | "Float[3]" | "Integer64[3]" | |
| "Double[4]" | "Float[4]" | "Integer64[4]" |
| "Device" | $CUDADevice | CUDA device used in computation | |
| "TargetPrecision" | Automatic | precision used in computation |
Information about memory can be retrieved via CUDAMemoryInformation:
Link CUDAMemoryLoad; different types are supported:
Adding memory as Real or Complex gets the type based on whether the device supports double precision or not:
|