MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / set_other_cuda_vars

Function set_other_cuda_vars

configure.py:1047–1053  ·  view source on GitHub ↗

Set other CUDA related variables.

(environ_cp)

Source from the content-addressed store, hash-verified

1045
1046
1047def set_other_cuda_vars(environ_cp):
1048 """Set other CUDA related variables."""
1049 # If CUDA is enabled, always use GPU during build and test.
1050 if environ_cp.get('TF_CUDA_CLANG') == '1':
1051 write_to_bazelrc('build --config=cuda_clang')
1052 else:
1053 write_to_bazelrc('build --config=cuda')
1054
1055
1056def set_host_cxx_compiler(environ_cp):

Callers 1

mainFunction · 0.85

Calls 2

write_to_bazelrcFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected