rules_cuda icon indicating copy to clipboard operation
rules_cuda copied to clipboard

How can I use nvc++ toolchain?

Open MoFHeka opened this issue 11 months ago • 2 comments
trafficstars

Seems only clang and nvcc support in rules_cuda

MoFHeka avatar Dec 10 '24 08:12 MoFHeka

You need to add toolchain configurations for both cc and cuda rules. Since nvc++ is both a c/cpp compiler and a cuda compiler, and if it is not mixable (nvc++ for cuda and g++ for c++), then this will be a very complex job. I am not quite sure how hard it is to configure the nvc++ as a cuda compiler.

cloudhan avatar Dec 10 '24 15:12 cloudhan

@cloudhan Thanks for reply. May I ask what toolchain configurations need to be added? You mean add more template in rules_cuda?

MoFHeka avatar Dec 10 '24 17:12 MoFHeka