Fix macro condition
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
parent
87d006d418
commit
959ff65126
@ -59,7 +59,7 @@ void *reallocate(void* ptr, int alignment, size_t newBytesize, size_t oldBytesiz
|
||||
|
||||
return newarray;
|
||||
}
|
||||
#ifdef CUDA_TARGET
|
||||
#ifndef CUDA_TARGET
|
||||
void *allocate_gpu(int alignment, size_t bytesize) { return NULL; }
|
||||
void *reallocate_gpu(void *ptr, int alignment, size_t newBytesize, size_t oldBytesize) { return NULL; }
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user