Skip to content

Commit 4b012cd

Browse files
committed
Add missing paired attribute.
1 parent b53179a commit 4b012cd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clang/lib/Headers/__clang_hip_libdevice_declares.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
#include "hip/hip_version.h"
1515
#endif // __has_include("hip/hip_version.h")
1616

17-
#ifdef __SPIRV__
18-
#define __PRIVATE_AS __attribute__((address_space(0)))
19-
#else
20-
#define __PRIVATE_AS __attribute__((address_space(5)))
21-
#endif
17+
#define __PRIVATE_AS __attribute__((opencl_private))
2218

2319
#ifdef __cplusplus
2420
extern "C" {

0 commit comments

Comments
 (0)