Merge pull request #1016 from yxsamliu/align

hip-clang: Add __align__

[ROCm/hip commit: 78fd844a16]
Dieser Commit ist enthalten in:
Maneesh Gupta
2019-04-11 08:54:23 +05:30
committet von GitHub
Commit ba8ef59e8b
@@ -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>