Merge pull request #1016 from yxsamliu/align
hip-clang: Add __align__
[ROCm/hip commit: 78fd844a16]
Этот коммит содержится в:
Коммит
ba8ef59e8b
1 file changed
+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>
|
||||
|
||||
Reference in new issue
Block a user