|
| integer function, public | offload_api::offload_malloc_pinned_mem (buffer, length) |
| | allocate pinned memory.
|
| integer function, public | offload_api::offload_free_pinned_mem (buffer) |
| | free pinned memory
|
| subroutine, public | offload_api::offload_init () |
| | Initialize runtime.
|
| integer function, public | offload_api::offload_get_device_count () |
| | Returns the number of available devices.
|
| subroutine, public | offload_api::offload_set_chosen_device (device_id) |
| | Selects the chosen device to be used.
|
| integer function, public | offload_api::offload_get_chosen_device () |
| | Returns the chosen device.
|
| subroutine, public | offload_api::offload_activate_chosen_device () |
| | Activates the device selected via offload_set_chosen_device().
|
| subroutine, public | offload_api::offload_timeset (routinen) |
| | Starts a timing range.
|
| subroutine, public | offload_api::offload_timestop () |
| | Ends a timing range.
|
| subroutine, public | offload_api::offload_mem_info (free, total) |
| | Gets free and total device memory.
|
| subroutine, public | offload_api::offload_create_buffer (length, buffer) |
| | Allocates a buffer of given length, ie. number of elements.
|
| subroutine, public | offload_api::offload_free_buffer (buffer) |
| | Deallocates given buffer.
|
| subroutine, public | offload_api::offload_mempool_stats_print (mpi_comm, output_unit) |
| | Print allocation statistics.
|
| subroutine, public | offload_api::offload_buffer_h2d (buffer, length) |
| | Copy host data to device.
|
| subroutine, public | offload_api::offload_buffer_d2h (buffer, length) |
| | Copy device data to host.
|
| type(c_ptr) function, public | offload_api::offload_get_buffer_device_pointer (buffer) |
| | Return a C pointer to the buffer's underlying device memory.
|
| subroutine, public | offload_api::offload_device_synchronize () |
| | Blocks until all outstanding device work has completed.
|
| type(c_ptr) function, public | offload_api::offload_get_buffer_host_pointer (buffer) |
| | Return a C pointer to the buffer's host memory.
|