Go to the source code of this file.
|
module | offload_api |
| Fortran API for the offload package, which is written in C.
|
|
|
integer function, public | offload_api::offload_malloc_pinned_mem (buffer, length) |
| allocate pinned memory. More...
|
|
integer function, public | offload_api::offload_free_pinned_mem (buffer) |
| free pinned memory More...
|
|
subroutine, public | offload_api::offload_init () |
| Initialize runtime. More...
|
|
integer function, public | offload_api::offload_get_device_count () |
| Returns the number of available devices. More...
|
|
subroutine, public | offload_api::offload_set_chosen_device (device_id) |
| Selects the chosen device to be used. More...
|
|
integer function, public | offload_api::offload_get_chosen_device () |
| Returns the chosen device. More...
|
|
subroutine, public | offload_api::offload_activate_chosen_device () |
| Activates the device selected via offload_set_chosen_device() More...
|
|
subroutine, public | offload_api::offload_timeset (routineN) |
| Starts a timing range. More...
|
|
subroutine, public | offload_api::offload_timestop () |
| Ends a timing range. More...
|
|
subroutine, public | offload_api::offload_mem_info (free, total) |
| Gets free and total device memory. More...
|
|
subroutine, public | offload_api::offload_create_buffer (length, buffer) |
| Allocates a buffer of given length, ie. number of elements. More...
|
|
subroutine, public | offload_api::offload_free_buffer (buffer) |
| Deallocates given buffer. More...
|
|