Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: identifier "WARP_SHFL_XOR" is undefined #487

Open
Quasimondo opened this issue Oct 11, 2017 · 0 comments
Open

error: identifier "WARP_SHFL_XOR" is undefined #487

Quasimondo opened this issue Oct 11, 2017 · 0 comments

Comments

@Quasimondo
Copy link

When trying luarocks install cunn I the compilation fails with

/tmp/luarocks_cunn-scm-1-5502/cunn/lib/THCUNN/BatchNormalization.cu(83): error: identifier "WARP_SHFL_XOR" is undefined
          detected during:
            instantiation of "T warpSum(T) [with T=float]" 
(115): here
            instantiation of "T reduce<T,Op,DeviceTensor3>(Op, DeviceTensor3, int) [with T=float, Op=SumOp<half, float, THCDeviceTensor<half, 3, int, DefaultPtrTraits>>, DeviceTensor3=THCDeviceTensor<half, 3, int, DefaultPtrTraits>]" 
(185): here
            instantiation of "void BatchNormalizationUpdateOutput_kernel<Dtype,Acctype,DeviceTensor1,DeviceTensor3>(DeviceTensor3, DeviceTensor3, DeviceTensor1, DeviceTensor1, Acctype, Acctype, DeviceTensor1, DeviceTensor1, DeviceTensor1, DeviceTensor1) [with Dtype=half, Acctype=float, DeviceTensor1=THCDeviceTensor<half, 1, int, DefaultPtrTraits>, DeviceTensor3=THCDeviceTensor<half, 3, int, DefaultPtrTraits>]" 
/tmp/luarocks_cunn-scm-1-5502/cunn/lib/THCUNN/generic/BatchNormalization.cu(61): here

The fix is to upgrade cutorch to the latest version: luarocks install cutorch - maybe you could mention that in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant