-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels