We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a020791 commit 6e6e5fbCopy full SHA for 6e6e5fb
kernel_tuner/backends/cupy.py
@@ -125,6 +125,10 @@ def compile(self, kernel_instance):
125
compiler_options = self.compiler_options
126
if not any(["-std=" in opt for opt in self.compiler_options]):
127
compiler_options = ["--std=c++11"] + self.compiler_options
128
+ if not any([b"--gpu-architecture=" in opt for opt in compiler_options]):
129
+ compiler_options.append(
130
+ f"--gpu-architecture=compute_{self.cc}".encode("UTF-8")
131
+ )
132
133
options = tuple(compiler_options)
134
0 commit comments