Skip to content

Commit b58d757

Browse files
export
1 parent 398489b commit b58d757

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

numba_cuda/numba/cuda/memory_management/nrt.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ nrt_varsize_dtor(void *ptr, size_t size, void *info) {
8989
NRT_Free(ptr);
9090
}
9191

92+
extern "C"
9293
__device__ NRT_MemInfo* NRT_MemInfo_new_varsize(size_t size)
9394
{
9495
void *data = NRT_Allocate(size);

numba_cuda/numba/cuda/memory_management/nrt.cuh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ extern "C" __device__ void NRT_MemInfo_init(NRT_MemInfo* mi,
4444
size_t size,
4545
NRT_dtor_function dtor,
4646
void* dtor_info);
47+
extern "C" __device__ NRT_MemInfo* NRT_MemInfo_new_varsize(size_t size);
4748
extern "C" __device__ NRT_MemInfo* NRT_MemInfo_new_varsize_dtor(size_t size, NRT_dtor_function dtor);

0 commit comments

Comments
 (0)