justanotheruser edited a comment on issue #20099: URL: https://github.com/apache/incubator-mxnet/issues/20099#issuecomment-811099261
@leezu Turns out the solution was not to update to the latest msvs but to downgrade to the previous version: https://devtalk.blender.org/t/cuda-compile-error-windows-10/17886/5 When I switched from 16.9 to 16.8.6, these errors disappeared. But I still got some (in 3 build attempts in a row): > D:\incubator-mxnet\3rdparty\nvidia_cub\cub\thread\../util_type.cuh(900): error C2993: "T": illegal type for non-type template parameter "__formal" > D:\incubator-mxnet\3rdparty\nvidia_cub\cub\thread\../util_type.cuh(900): error C2065: __T289: undeclared identifier > D:\incubator-mxnet\3rdparty\nvidia_cub\cub\thread\../util_type.cuh(900): error C2923: std::_Select<__formal>::_Apply: "__T289" is not a valid template type argument for parameter "<unnamed-symbol>" > D:\incubator-mxnet\3rdparty\nvidia_cub\cub\thread\../util_type.cuh(900): error C2062: type 'unknown-type' unexpected Quick search led to this issue https://github.com/NVIDIA/thrust/issues/1090 but I didn't found any Thrust headers in util_type.cuh. I'm also not sure if error depends on USE_CPP_PACKAGE=ON setting, so I opened a PR just to test it: https://github.com/apache/incubator-mxnet/pull/20108 In the meantime, will try to build with CUDA 11 and report back. I honestly think that nightly builds of libmxnet.dll/.so would greatly improve MXNet accessibility. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
