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 8ade6ad commit b53179aCopy full SHA for b53179a
clang/lib/Headers/__clang_hip_math.h
@@ -35,11 +35,7 @@
35
36
#pragma push_macro("__PRIVATE_AS")
37
38
-#ifdef __SPIRV__
39
-#define __PRIVATE_AS __attribute__((address_space(0)))
40
-#else
41
-#define __PRIVATE_AS __attribute__((address_space(5)))
42
-#endif
+#define __PRIVATE_AS __attribute__((opencl_private))
43
// Device library provides fast low precision and slow full-recision
44
// implementations for some functions. Which one gets selected depends on
45
// __CLANG_GPU_APPROX_TRANSCENDENTALS__ which gets defined by clang if
0 commit comments