Fix texture using constant addrspace 4
This commit is contained in:
1 parent
31c4a0dff1
commit
63b400beea
1 file changed
+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)))
|
||||
|
||||
Reference in new issue
Block a user