MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / get

Method get

python/cutlass_cppgen/backend/compiler.py:102–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 return " ".join(opts)
101
102 def get(self):
103 options = []
104
105 for flag in self.flags:
106 options.append(bytes(str.encode(flag)))
107
108 for incl in self.include_paths:
109 options.append(bytes(str.encode(f" --include-path={incl}")))
110
111 arch_flag = f" -arch=sm_{self.arch}"
112 if self.arch in [90, 100, 101, 103, 120, 121]:
113 arch_flag += "a"
114
115 options.append(bytes(str.encode(arch_flag)))
116
117 return options
118
119
120def convertToBinaryData(filename):

Callers 15

mixed_input_mode_nameMethod · 0.45
emitMethod · 0.45
CreateConvOperator3xFunction · 0.45
get_gemm_configsFunction · 0.45
options_for_ccMethod · 0.45
numpy_typeFunction · 0.45
cupy_typeFunction · 0.45
torch_library_typeFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected