Fix texture using constant addrspace 4

[ROCm/hip commit: 63b400beea]
Tá an tiomantas seo le fáil i:
Aaron Enye Shi tiomanta 2019-02-12 16:56:22 +00:00
1 tuismitheoir 9ab6e7b7f6
tiomantas 1dad8c4329
1 comhad athraithe
+1 -1
@@ -50,7 +50,7 @@ union TData {
#define __TEXTURE_FUNCTIONS_DECL__ static inline __device__
#if (__hcc_workweek__ >= 18114)
#if (__hcc_workweek__ >= 18114) || __clang__
#define ADDRESS_SPACE_CONSTANT __attribute__((address_space(4)))
#else
#define ADDRESS_SPACE_CONSTANT __attribute__((address_space(2)))