(self)
| 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 | |
| 120 | def convertToBinaryData(filename): |
no test coverage detected