Merge pull request #913 from aaronenyeshi/fix-texture-constant-addrspace

Fix texture using constant addrspace 4
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2019-02-13 08:59:01 +05:30
2 tuismitheoirí 61d9553103 eec46be762
tiomantas f1f9cc0d55
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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)))