İşleme Grafiği

286 İşleme

Yazar SHA1 Mesaj Tarih
pensun b98e815865 Modify hipStreamAddCallback test case to consider both NULL stream and stream
Change-Id: I8468c988f0f01c7d3f3176a01469d69bf7a68237


[ROCm/clr commit: 4a93beb3b0]
2016-10-23 12:36:02 -05:00
pensun 57fab304c7 Add direct test for hipStreamAddCallback workaround
Change-Id: I890574eb30a76922888846882986edd0dc345309


[ROCm/clr commit: ad09270d7b]
2016-10-23 12:18:09 -05:00
Aditya Atluri d4a090e7fb Added support for constant memory
1. Added support for constant memory
2. Added test which uses memcpytosymbol for constant memory
3. Corrected code error on nvcc path

Change-Id: I2ab69f516832bf7a037132ac81273ea6f5107401


[ROCm/clr commit: 3a1c8f9259]
2016-10-20 09:57:53 -05:00
Ben Sander 90bc4809b0 Several fixes/improvements to directed tests.
Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62


[ROCm/clr commit: 4acb7dd947]
2016-10-18 22:27:16 -05:00
Aditya Atluri 907a968bc0 make sure the global variable does not give zero
Change-Id: I299c4e74740e5df155a562b0ee609ac6539a9b28


[ROCm/clr commit: 9d7a82d6bf]
2016-10-18 10:09:52 -05:00
Maneesh Gupta 789d6cc42e Rename hipComplex.h -> hip_complex.h
Change-Id: I86af4ddccc6ebb19606156b459e3065d2c979108


[ROCm/clr commit: 4a87f78fa6]
2016-10-16 11:02:36 +05:30
Aditya Atluri aa979ccf60 changed malloc device functions test to work on multiple devices
Change-Id: I69ef9002f2f041fef138993aed5a03d4d410a29f


[ROCm/clr commit: 366c322416]
2016-10-13 18:27:56 -05:00
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 caa6a298e7 added malloc and free device functions
1. Added malloc and free device functions
2. Added test which check malloc and free functions
TODO: Need to add support for multiple device. Works only on one device (multi device support id NOT available).

Change-Id: Id11fc36463915d6ad46c264d5a20c8feb2d2c17c


[ROCm/clr commit: 2918ff273d]
2016-10-12 19:08:34 -05:00
Aditya Atluri 84476c5e33 changed memcpy and memset device functions
Change-Id: Ia7f450536a75fad4fe13c7fcf5e9e7a9b5450f52


[ROCm/clr commit: ff59ea76f1]
2016-10-11 17:43:15 -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
Ben Sander f8856acbd1 fix test args
Change-Id: If18eb2a5e504accb72a25716aafb6867002fefb2


[ROCm/clr commit: bf3ce40fb1]
2016-10-01 14:39:22 -05:00
pensun eb5bb292ae change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189


[ROCm/clr commit: e6d7ecc0f5]
2016-09-27 23:00:11 -05:00
Ben Sander 89dd26a07a Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef


[ROCm/clr commit: c53349a371]
2016-09-27 15:45:40 -05:00
Aditya Atluri ef4ed33772 Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95


[ROCm/clr commit: 04b68a515d]
2016-09-27 13:33:42 -05:00
Aditya Atluri 99095ec70e added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87


[ROCm/clr commit: 4299316039]
2016-09-27 13:04:35 -05:00
Aditya Atluri d8e4eb476e added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704


[ROCm/clr commit: 977918badf]
2016-09-27 11:38:31 -05:00
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
Rahul Garg 0206224b5e Removed deprecated hipHostAlloc
Change-Id: Ia592a3545c5d72f37e049ce29f910e404323c01c


[ROCm/clr commit: c313836013]
2016-09-26 10:58:46 +05:30
Maneesh Gupta e743b311d3 directed tests: Enabled top-level uncategorized tests in HIT
Change-Id: If37cbd00244ebfa0e5bff8362820aa68aaa163f1


[ROCm/clr commit: 9216464861]
2016-09-23 16:15:31 +05:30
Ben Sander 4cf9803703 Peer-to-Peer improvements.
- Bug fix for peer visibility.  Now contexts correctly detect when they can use SDMA for P2P vs staging buffers.
- Interface to new HCC copy_ext function.
- Improve context and peer print /debug options.
- Add comments and usage to hipPeerToPeer_simple test.


[ROCm/clr commit: 944d4eaa18]
2016-09-22 14:21:19 -05:00
Maneesh Gupta c9c4ce4c96 Directed tests: Remove support for HIP_BUILD_LOCAL=0
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf


[ROCm/clr commit: 33fe29ae9f]
2016-09-13 20:40:19 +05:30
Maneesh Gupta 60e1b0d8a9 Directed tests: Refactor phase 2
- Restore HIP_BUILD_LOCAL flag. Defaults to 1.
 - HIP_PATH is used only when HIP_BUILD_LOCAL is 0.
 - HIP_PLATFORM, HCC_HOME, HIP_LIB_TYPE are passed on to HIP build.
 - Specifying HCC_HOME automatically sets HIP_DEVELOPER=1 for HIP build.
 - Always show HIP configure step output. Output is colored magenta.
 - Fix code indentation.

Change-Id: I74f2d9c1cb04bf865313b2db6b55fda567c8e071


[ROCm/clr commit: d85012df42]
2016-09-13 20:11:33 +05:30
Aditya Atluri 7373e61507 Added async memcpy driver api
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f


[ROCm/clr commit: c3ab5a8df8]
2016-09-09 10:21:52 -05:00
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 56e62228af Directed tests: Fix hipCtx_simple on NVCC
The test was using hipDeviceGetFromId instead of hipDeviceGet

Change-Id: Ia035ded5212f2659d5c8f01e9f6fcec514fe7ccb


[ROCm/clr commit: f8f75faba3]
2016-09-09 12:04:32 +05:30
Maneesh Gupta b5c5d0fe22 Directed tests: hipDynamicShared now compiles on NVCC
NVCC does not support template in extern __shared__. Compilation is
fixed but test still does not run on NVCC.

Change-Id: I427c9170812401460d60ef8e3246525eeda38514


[ROCm/clr commit: df0b908937]
2016-09-09 12:01:41 +05:30
Maneesh Gupta f74dcb94bd directed tests: Show HIP build errors during configure stage
Change-Id: I068b668902cf54286ce5bb4c6c718b643bfa5754


[ROCm/clr commit: f9ecb8d67e]
2016-09-09 11:01:10 +05:30
Rahul Garg be1dd62dd7 Initial support for hipChooseDevice function
Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f


[ROCm/clr commit: 817bd7270f]
2016-09-08 22:37:24 +05:30
Maneesh Gupta 67645f2224 Directed tests: Refactor phase 1 - build HIP the right way
Change-Id: I8fcd2bcb01b12878878f50777e2cf0095fae61a1


[ROCm/clr commit: f9c3e759e9]
2016-09-08 17:20:38 +05:30
Ben Sander c75953a822 Add hipStreamQuery
Change-Id: Ib0813b1065feba4fe9ae861d24cfc6f9c5f580be


[ROCm/clr commit: fd67689114]
2016-09-07 15:18:34 -05:00
Ben Sander c5f7fd723a refactor ihipPreLaunchKernel phase#1
- Fix calls to HIP_INIT_API to pass all function arguments.
- Change ihipFunction to follow coding convention:
    - leading underscore for member fields,
    - camelCase for member fields.
- move kernel print function inside ihipPreLaunchKernel.
- add HIP_TRACE_API_COLOR, control color of messages.
- add ihipLogStatus wrapper to hipDeviceSynchronize()

Change-Id: I20bbb644da213f821404648945197254e3648fc9


[ROCm/clr commit: 745310399d]
2016-09-07 15:18:34 -05:00
Ben Sander 2d662d866f add hipStreamQuery on nvcc, fix hipStreamWaitEvent for nvcc
[ROCm/clr commit: 9466ab4fca]
2016-09-02 17:26:16 -05:00
Ben Sander 264d7fde03 Doc and test updates.
Change-Id: I44cbd2c0de7cb692d0194d1bb8b8ae25c58d4e00


[ROCm/clr commit: d882f4fb74]
2016-09-02 09:46:59 -05:00
Ben Sander 589f28547e hipStreamWaitEvent update.
Add passed to hipStreamWaitEvent test.
Fix pointerAttrib test to work with new and old HCC versions.
Minor code touchup.

Change-Id: I139ba6ce9f6bf2b4bee89aebdec5981b4346ffc0


[ROCm/clr commit: 8e883ab666]
2016-09-02 09:46:59 -05:00
Ben Sander b570732b0e Add test for hipStreamWaitEvent
Change-Id: I157b33a78a0fc125b4b85f611f32f3b492f1b4d9


[ROCm/clr commit: 8ec453a8c1]
2016-09-02 09:46:59 -05:00
pensun 65ce463726 Modify hipMalloc to take size of 0 and return NULL pointer for it.
Modify hipMemoryAllocate test for this change.

Change-Id: I884aee0cd5fe0c60aebb4cb37cdbb4833c5bd0c7


[ROCm/clr commit: 4ed2035dd2]
2016-09-01 13:08:30 -05:00
Aditya Atluri 9af7591223 added hipInit for cuInit nvcc path
Change-Id: I594d08d936ac5d06f16e42c63062ac5776b65a0c


[ROCm/clr commit: 5d3c72a7ff]
2016-08-29 15:20:09 -05:00
Aditya Atluri 4c46364a3f added sample for module api which works on both cuda and rocm
Change-Id: Id88abb3698a224177fd0531e3e16013dde6dd95e


[ROCm/clr commit: 1673bdefec]
2016-08-29 15:00:26 -05:00
Aditya Atluri 9fe6924154 Cleaned up module api
- Moved HIP_INIT_API from internal to all public apis
- renamed hipLaunchModuleKernel to hipModuleLaunchKernel
- Changed tests according to the changed api

Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f


[ROCm/clr commit: 71991ed8f8]
2016-08-28 16:48:57 -05:00
Aditya Atluri 6a596c353a added memset and memcpy device functions
- Added memcpy and memset device functions
- Added test for memcpy and memset

Change-Id: Icd21a8dd964953b86d5e92889bf1664bee647219


[ROCm/clr commit: 5e7c396bcd]
2016-08-27 11:13:56 -05:00
Aditya Atluri fa734c5a6a Added explicit memory copy direction apis
- Fixed stale printf in context api
- Added 4 sync memcpy apis
  1. hipMemcpyHtoD
  2. hipMemcpyDtoH
  3. hipMemcpyDtoD
  4. hipMemcpyHtoH
- Added test for added apis

Change-Id: I4a9c382445b62631f8d0bcbb9a670322288b72b1


[ROCm/clr commit: f722a132a4]
2016-08-26 13:11:01 -05:00