Skip to content
Snippets Groups Projects
Unverified Commit f36b74cb authored by Recolic Keghart's avatar Recolic Keghart
Browse files

sync

parent 683c1804
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,7 @@ namespace rlib { ...@@ -125,6 +125,7 @@ namespace rlib {
__device__ bool dev_apply_new_cap() { __device__ bool dev_apply_new_cap() {
void *new_mem = nullptr; void *new_mem = nullptr;
printf("Allocating %llu b mem\n", cap);
rlib::dev_cuda_assert(cudaMalloc(&new_mem, cap)); rlib::dev_cuda_assert(cudaMalloc(&new_mem, cap));
if(new_mem == nullptr) if(new_mem == nullptr)
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment