|
Simple GPU 1.0
Fortran GPU Computing Library with transparent CPU/GPU support
|
Allocate GPU/CPU memory for arrays. More...
Allocate GPU/CPU memory for arrays.
Polymorphic interface that automatically selects the correct implementation based on the array type and number of dimensions provided.
Supports:
| [out] | arr | GPU array to allocate (gpu_double1..6 or gpu_real1..6) |
| [in] | n1 | Size of first dimension |
| [in] | n2 | Size of second dimension (for 2D+) |
| [in] | n3 | Size of third dimension (for 3D+) |
| [in] | n4 | Size of fourth dimension (for 4D+) |
| [in] | n5 | Size of fifth dimension (for 5D+) |
| [in] | n6 | Size of sixth dimension (for 6D) |
Definition at line 371 of file simple_gpu.F90.