rules_cuda
rules_cuda copied to clipboard
How can I use nvc++ toolchain?
trafficstars
Seems only clang and nvcc support in rules_cuda
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 Thanks for reply. May I ask what toolchain configurations need to be added? You mean add more template in rules_cuda?