local memory runtime refactoring

This commit is contained in:
Blaise Tine 2024-03-21 09:31:55 -07:00
parent 2776f2cdf0
commit 35a782a7ba
18 changed files with 139 additions and 232 deletions

View file

@ -98,7 +98,7 @@ int main(int argc, char *argv[]) {
// allocate device memory
std::cout << "allocate device memory" << std::endl;
RT_CHECK(vx_mem_alloc(device, buf_size, VX_MEM_TYPE_GLOBAL, &kernel_arg.src_addr));
RT_CHECK(vx_mem_alloc(device, buf_size, &kernel_arg.src_addr));
kernel_arg.num_points = num_points;