wudisheng
wudisheng
Generally we don't trust JIT --- we don't want our graph to be optimized or fused in any way beyond our SWE's knowledge. Performance is the last thing to concern...
We don't use Python. What's the equivalent way of doing your suggestion in C++?
I'm in a similar situation. In our use case, we use `clang` as C/C++ compiler (i.e. cc toolchain resolution chooses `clang`), but for CUDA code we'd like to use `nvcc`...
> @wudisheng I think nvcc can accept clang passed to -ccbin. In our specific environment (e.g. versions), no. And even if it can, we'd like `nvcc+gcc`, otherwise we could use...
> @wudisheng You are describing a different problem. To make nvcc to use clang as host compiler (NOTE: you must ensure the host compiler for cuda and cc compiler for...
Technically, yes. The official way is to use transitions, which is considerably difficult. For legacy `--*crosstool_top` cc toolchain resolution, I can manually generate a (different) `cc_toolchain_suite` which has fake mappings...