You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/.../gpuNUFFT/CUDA/inc/matlab_helper.h:113:37: error:
cannot pass object of non-POD type 'IndType2' through variadic function;
call will abort at runtime [-Wnon-pod-varargs]
mexPrintf("%s: %d, ", name, (*data)[i]);
^
/.../gpuNUFFT/CUDA/inc/matlab_helper.h:140:3: note:
in instantiation of function template specialization
'readMatlabInputArray<IndType2>' requested here
readMatlabInputArray<TType>(prhs, input_index, highest_varying_dim, name,
^
/.../gpuNUFFT/CUDA/inc/matlab_helper.h:166:3: note:
in instantiation of function template specialization
'readMatlabInputArray<IndType2>' requested here
readMatlabInputArray<TType>(prhs, input_index, highest_varying_dim, name,
^
/.../gpuNUFFT/CUDA/src/gpu/matlab/gpuNUFFT_forw.cpp:88:7: note:
in instantiation of function template specialization
'readAndCreateArray<IndType2>' requested here
readAndCreateArray<IndType2>(prhs, pcount++, 0,
^
In file included from /.../gpuNUFFT/CUDA/src/gpu/matlab/gpuNUFFT_forw.cpp:1:
/.../gpuNUFFT/CUDA/inc/matlab_helper.h:115:37: error:
cannot pass object of non-POD type 'IndType2' through variadic function;
call will abort at runtime [-Wnon-pod-varargs]
mexPrintf("%s: %f, ", name, (*data)[i]);
^
2 errors generated.
I’m building on macOS with latest CUDA 8.0 and Apple LLVM 8.0.0 and HEAD of your repo. If this is a macOS thing, feel free to close—I’m building it here just to do some basic testing, I will find a Linux box with a more modern GPU and test there.
The text was updated successfully, but these errors were encountered:
Ran into the same issue on Ubuntu 16.04. Removing the following if statement from matlab_helper.h (starts at line 112) solved the issue. if (is_int) mexPrintf("%s: %d, ", name, (*data)[i]); else mexPrintf("%s: %f, ", name, (*data)[i]);
Fails at 57% on:
I’m building on macOS with latest CUDA 8.0 and Apple LLVM 8.0.0 and HEAD of your repo. If this is a macOS thing, feel free to close—I’m building it here just to do some basic testing, I will find a Linux box with a more modern GPU and test there.
The text was updated successfully, but these errors were encountered: