Merge pull request #1016 from yxsamliu/align

hip-clang: Add __align__

[ROCm/clr commit: 464e098796]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2019-04-11 08:54:23 +05:30
2 tuismitheoirí 19ba784652 7d58d7b02a
tiomantas 4610845721
1 comhad athraithe
+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>