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

Function GetTFExtraPTXOptions

tensorflow/stream_executor/cuda/ptxas_utils.cc:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace cuda {
35
36char* GetTFExtraPTXOptions() {
37 static bool fetched = false;
38 static char* env = nullptr;
39 if (!fetched) {
40 env = getenv("TF_EXTRA_PTXAS_OPTIONS");
41 fetched = true;
42 }
43 return env;
44}
45
46#if defined(PLATFORM_WINDOWS)
47port::StatusOr<std::vector<uint8>> CompilePtx(int device_ordinal,

Callers 1

CompilePtxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected