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

Function CompilePtx

tensorflow/stream_executor/cuda/ptxas_utils.cc:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46#if defined(PLATFORM_WINDOWS)
47port::StatusOr<std::vector<uint8>> CompilePtx(int device_ordinal,
48 const char* ptx_contents,
49 PtxCompilationOptions options) {
50 // TODO(b/134675935): Subprocess invocation not supported on Windows.
51 return port::InternalError("Invoking ptxas not supported on Windows");
52}
53
54port::StatusOr<absl::Span<const uint8>> CompilePtxOrGetCached(
55 int device_ordinal, const char* ptx,

Callers 2

CompileGpuAsmFunction · 0.85
CompilePtxOrGetCachedFunction · 0.85

Calls 15

GetDeviceFunction · 0.85
DefaultFunction · 0.85
WarnIfBadPtxasVersionFunction · 0.85
WriteStringToFileFunction · 0.85
GetTFExtraPTXOptionsFunction · 0.85
StartsWithFunction · 0.85
EndsWithFunction · 0.85
UnimplementedFunction · 0.85
ReadFileToStringFunction · 0.85
LocalTempFilenameMethod · 0.80
SetProgramMethod · 0.80
SetChannelActionMethod · 0.80

Tested by

no test coverage detected