2
0

Merge pull request #1016 from yxsamliu/align

hip-clang: Add __align__

[ROCm/clr commit: 464e098796]
Este cometimento está contido em:
Maneesh Gupta
2019-04-11 08:54:23 +05:30
cometido por GitHub
ascendente 19ba784652 7d58d7b02a
cometimento 4610845721
+6
Ver ficheiro
@@ -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>