mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 13:57:17 -04:00
location independent kernel loading support/fixes
This commit is contained in:
parent
69fdb4bd04
commit
8fa28bfca1
30 changed files with 248 additions and 84 deletions
|
@ -95,6 +95,12 @@ int vx_dcr_write(vx_device_h hdevice, uint32_t addr, uint32_t value);
|
|||
|
||||
////////////////////////////// UTILITY FUNCTIONS //////////////////////////////
|
||||
|
||||
// upload bytes to device
|
||||
int vx_upload_kernel_bytes(vx_device_h hdevice, const void* content, uint64_t size, uint64_t* addr);
|
||||
|
||||
// upload file to device
|
||||
int vx_upload_kernel_file(vx_device_h hdevice, const char* filename, uint64_t* addr);
|
||||
|
||||
// upload bytes to device
|
||||
int vx_upload_bytes(vx_device_h hdevice, const void* content, uint64_t size, uint64_t* addr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue