Cuda: Enable PGO

pull/8994/head
David Seifert 4 years ago
parent 47a8e7ece7
commit 28d13f4bfe
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
  1. 6
      mesonbuild/compilers/cuda.py

@ -767,5 +767,11 @@ class CudaCompiler(Compiler):
else:
return []
def get_profile_generate_args(self) -> T.List[str]:
return ['-Xcompiler=' + x for x in self.host_compiler.get_profile_generate_args()]
def get_profile_use_args(self) -> T.List[str]:
return ['-Xcompiler=' + x for x in self.host_compiler.get_profile_use_args()]
def get_disable_assert_args(self) -> T.List[str]:
return self.host_compiler.get_disable_assert_args()

Loading…
Cancel
Save