Added feature for memcpy to Symbol

1. Currently works only for __attribute__((addrspace(1))
2. Need to pass in string for name of the variable
3. Added test to check functionality

Change-Id: I4c3cc1bf151cb5423e4aef59fcc4ad5693b31641
This commit is contained in:
Aditya Atluri
2016-10-11 12:09:58 -05:00
parent 84eb7e2133
commit 6952b59401
3 changed files with 64 additions and 17 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ THE SOFTWARE.
#error("This version of HIP requires a newer version of HCC.");
#endif
// #define USE_MEMCPYTOSYMBOL
#define USE_MEMCPYTOSYMBOL
//