hip-clang: Add __align__
CUDA has __align__. Define eqivalent for hip-clang.
이 커밋은 다음에 포함됨:
1 부모
5732b74fc5
커밋
b9f8f977fb
1 파일이 변경됨
+6
@@ -57,6 +57,12 @@ THE SOFTWARE.
|
||||
|
||||
#if __HCC_OR_HIP_CLANG__
|
||||
|
||||
#if __HIP__
|
||||
#if !defined(__align__)
|
||||
#define __align__(x) __attribute__((aligned(x)))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define CUDA_SUCCESS hipSuccess
|
||||
|
||||
#include <hip/hip_runtime_api.h>
|
||||
|
||||
새 이슈에서 참조
사용자 차단