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 efa72a6 commit 186368dCopy full SHA for 186368d
driver/others/dynamic_power.c
@@ -40,7 +40,14 @@ char *gotoblas_corename(void) {
40
return corename[0];
41
}
42
43
-#ifdef C_PGI
+#if defined(__clang__)
44
+static int __builtin_cpu_supports(char* arg)
45
+{
46
+ return 0;
47
+}
48
+#endif
49
+
50
+#if defined(C_PGI) || defined(__clang__)
51
/*
52
* NV HPC compilers do not yet implement __builtin_cpu_is().
53
* Fake a version here for use in the CPU detection code below.
0 commit comments