leezu edited a comment on issue #20099: URL: https://github.com/apache/incubator-mxnet/issues/20099#issuecomment-811150199
> > 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 "" > D:\incubator-mxnet\3rdparty\nvidia_cub\cub\thread../util_type.cuh(900): error C2062: type 'unknown-type' unexpected > This is a bug in CUDA - MSVC integration and should be solved by upgrading to Cuda 11. Note that this issue is not thrust specific, but a bug in nvcc compiler. That's why it occurs for you even without thrust. For more details, see https://github.com/thrust/thrust/issues/1090 @josephevans may know the precise version. Alternativel, I think you can look at the compilation log of the CI build which should contain a line with the version number -- 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]
