Commit Graph

15 Commits

Author SHA1 Message Date
Aditya Atluri 7b180aff34 Added HIP_SYMBOL macro to act as a wrapper between HCC and NVCC symbol name parameters
Change-Id: I008d028b1e29d5a00d0e449af388216396ad2f75


[ROCm/clr commit: 2a55ae10e8]
2016-10-13 10:31:56 -05:00
Aditya Atluri 95c516907d added copy right for hipTestDeviceLimit test
Change-Id: If63ff341a6723e3dac85f1eb37d53b59bc7962ad


[ROCm/clr commit: 49e4eec4f2]
2016-10-12 19:59:52 -05:00
Aditya Atluri cd32c9418e Added hipDeviceGetLimit api
1. hipDeviceGetLimit API for HCC path is added
2. Test for hipDeviceGetLimit API is added
3. The feature added only supports querying heap size
4. Corrected indents for malloc and free device functions
5. Removed redundant data structures
6. Added g_heap_malloc_size to store the heap size

Change-Id: If48d1b0ce9270e994f1c542cc283ddbb14746bbb


[ROCm/clr commit: e5325a1ab4]
2016-10-12 19:58:48 -05:00
Aditya Atluri ac89997057 changed hipTestDeviceSymbol test to compile for both nvcc and hcc path
Change-Id: I041770ad59d4f88d0c8d27d90cdc8a799935ada1


[ROCm/clr commit: 8e8939d775]
2016-10-11 13:50:31 -05:00
Aditya Atluri 41077d99af added more changes to memcpytosymbol
1. Refactored code to use HCC internal APIs rather than HCC copy APIs
2. Added hipMemcpyToSymbolAsync
3. Added test for hipMemcpyToSymbolAsync
4. Added new error hipErrorInvalidSymbol

Change-Id: I0e359b2d0ff5d682bbccdf9c2923e16b35e39497


[ROCm/clr commit: 0bf811b875]
2016-10-11 13:29:46 -05:00
Aditya Atluri 68b3ae7fce 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


[ROCm/clr commit: 89b576da65]
2016-10-11 12:09:58 -05:00
Aditya Atluri df5370763a added threadfence feature for hcc
1. Added feature for __threadfence and __threadfence_block
2. Added feature for using LLVM IR files directly while compilation
3. Added test for threadfence and threadfence_block

Change-Id: Ib7e5d89b4cca1a135952b317e5809cd05b56a3c9


[ROCm/clr commit: 09c9953649]
2016-10-10 15:29:50 -05:00
Maneesh Gupta 6b41768920 Remove deprecated make and cmake files
Change-Id: I8cac0ec9cb997214559627425af207bbb9be0ddf


[ROCm/clr commit: c4dd17cce9]
2016-10-07 11:44:26 +05:30
Elias Konstantinidis 9624b4ae88 Enabled tests for __mul24 & __umul24
[ROCm/clr commit: 49534c5ea9]
2016-10-06 09:29:56 +05:30
Maneesh Gupta 43d07079e9 directed tests: Updated to use new hip include path
Change-Id: Iab1aee638b7158eb9674a19625dedf6471947e51


[ROCm/clr commit: 5947878247]
2016-10-04 22:20:50 +05:30
Maneesh Gupta bac30c4561 directed tests: Enable remaining tests in HIT infrastructure
Change-Id: I800ee00d6f7d339bb5d2ed898a16362a8541ed3a


[ROCm/clr commit: 1e8282327b]
2016-09-27 17:24:33 +05:30
Maneesh Gupta b29be4201e Directed tests: Guard unsupported host math functions on NVCC
Change-Id: I1145c0e45a913167c82ddc593d8a9027f237c7ba


[ROCm/clr commit: 4ce3ac5b85]
2016-09-09 12:07:15 +05:30
Maneesh Gupta 691fd963f4 Update directed tests with all supported math functions
Change-Id: Id32a94313288e78bf2957bd19efb30877e20221d


[ROCm/clr commit: aa23a003cf]
2016-08-18 12:38:25 +05:30
7SK 308a0f7c31 NVCC_COMPAT
add support for both cuda compatible implementation and hcc(faster)
implementation with test

Change-Id: I79a22344f458391d7dffac5f147619a542e97e4e

[ROCm/clr commit: 54034e5048]
2016-06-28 09:36:06 +05:30
Ben Sander b31b23ff1d Refactor directed test infrastructue.
- Add hierarchy.  Tests now live in directories, each with its own
  CMakeFiles.txt.  Reduces merge conflicts.
- Change make_hip_executable -> build_hip_executable.
- Refresh docs.
- Enable some tests that were previously built but not run.

Change-Id: I8c5de3c954400bf233904282b8b42861a2b7c536


[ROCm/clr commit: 3feb13c8f6]
2016-06-17 15:18:57 -05:00