![]() |
GPUart
1.01
Prototype of GPUart, an application-based limited preemptive GPU scheduler for embedded real-time systems
|


Go to the source code of this file.
Functions | |
| GPUart_Retval | gpuI_memcpyHost2Device (void *variable_p, device_global_memory_id_e id_p) |
| Copy data from host memory to device memory. More... | |
| GPUart_Retval | gpuI_memcpyDevice2Host (void *variable_p, device_global_memory_id_e id_p) |
| Copy data from device memory to host memory. More... | |
| GPUart_Retval | gpuI_memcpyConstantMemory (void *variable_p, device_constant_memory_id_e id_p) |
| Copy data from host memory to constant device memory. More... | |
| GPUart_Retval gpuI_memcpyConstantMemory | ( | void * | variable_p, |
| device_constant_memory_id_e | id_p | ||
| ) |
Copy data from host memory to constant device memory.
The copy is only possible if persistent GPUart kernel GPUart_Persistent_Kernel is not running, since a constant memory data is immutable during kernel execution and its value is inherited from parent to child kernel.
| [in] | void | * variable_p -> The host variable to be copied |
| [in] | device_constant_memory_id_e | id_p -> The ID of the constant memory buffer |
| GPUart_Retval gpuI_memcpyDevice2Host | ( | void * | variable_p, |
| device_global_memory_id_e | id_p | ||
| ) |
Copy data from device memory to host memory.
Device memory may be shared physical memory or discrete device memory. The device driver API call may depend on the type of device memory (global or texture memory).
| [out] | void | * variable_p -> The host variable to be written |
| [in] | device_global_memory_id_e | id_p -> The ID of the global memory variable |

| GPUart_Retval gpuI_memcpyHost2Device | ( | void * | variable_p, |
| device_global_memory_id_e | id_p | ||
| ) |
Copy data from host memory to device memory.
Device memory may be shared physical memory or discrete device memory. The device driver API call may depend on the type of device memory (global or texture memory).
| [in] | void | * variable_p -> The host variable to be copied |
| [in] | device_global_memory_id_e | id_p -> The ID of the global memory variable |

1.8.6