|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|
Go to the source code of this file.
Modules | |
| module | opencl_intf |
| Fortran OpenCL interface. | |
Functions/Subroutines | |
| subroutine | opencl_intf::opencl_init (glb_cmd_queue, aux_cmd_queue, prf_cmd_queue) |
| subroutine | opencl_intf::opencl_finalize (glb_cmd_queue, aux_cmd_queue, prf_cmd_queue) |
| subroutine | opencl_intf::opencl_device_name (name) |
| integer function | opencl_intf::opencl_device_count () |
| Return the number of OpenCL devices. | |
| integer function | opencl_intf::opencl_device_mp_count () |
| Return the number of compute units of the current device (CL_DEVICE_MAX_COMPUTE_UNITS), or 0 if the query fails. | |
| integer(kind=i8) function | opencl_intf::opencl_device_total_mem () |
| Return the global memory size of the current device in bytes (CL_DEVICE_GLOBAL_MEM_SIZE), or 0 if the query fails. | |
Variables | |
| type(c_ptr), bind(C) | opencl_intf::glb_ctx = C_NULL_PTR |
| Global OpenCL context. | |
| type(c_ptr), target | opencl_intf::glb_device_id = C_NULL_PTR |
| Global OpenCL device_id. | |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_default = 1 |
| Device types. | |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_cpu = 2 |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_gpu = 4 |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_accelerator = 8 |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_custom = 16 |
| integer(c_int64_t), parameter | opencl_intf::cl_device_type_all = int(Z'FFFFFFFF', i8) |
| integer(c_int64_t), parameter | opencl_intf::cl_queue_out_of_order_exec_mode_enable = 1 |
| Queue properties. | |
| integer(c_int64_t), parameter | opencl_intf::cl_queue_profiling_enable = 2 |