There was an error while loading. Please reload this page.
Prefer using the template for malloc_shared, malloc_device
float *p = (float*)malloc_shared(N*sizeof(float),q);
float *p = malloc_shared<float>(N,q);