Evgeny Mankov
|
abef353b5b
|
[HIP] Clean-up deprecated HIP error codes
hipErrorMemoryAllocation -> hipErrorOutOfMemory
hipErrorInitializationError -> hipErrorNotInitialized
hipErrorMapBufferObjectFailed -> hipErrorMapFailed
hipErrorInvalidResourceHandle -> hipErrorInvalidHandle
[ROCm/hip commit: 4921678b6c]
|
2019-12-23 17:01:35 +03:00 |
|
Konstantin Pyzhov
|
993f323887
|
Disable hipStreamSync2 test for hip-clang.
[ROCm/hip commit: 7cbaa5082b]
|
2019-05-20 02:13:30 -04:00 |
|
Maneesh Gupta
|
fa07d40cdd
|
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
[ROCm/hip commit: 9f2d1453fb]
|
2019-05-09 09:59:18 +05:30 |
|
Maneesh Gupta
|
4f42ee762d
|
Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4]
|
2018-03-12 11:29:03 +05:30 |
|
Alex Voicu
|
70a41e7dac
|
This switches HIP from its currently convoluted macro + pfe based dispatch mechanism to a more natural one partially based on the existing module API. The basic idea is that HCC will always correctly emit __global__ functions: as empty-bodied stubs, on host, and as kernels, on device. It then becomes trivial to obtain the mangled name on host, at dispatch, from the function's address, and then to use the mangled name to retrieve the kernel. This should address all problems stemming from serialisation, dubious mismatches due to the manufactured functor, macro-isms et al. It also immediately enables support for generalised globals as a consequence of that being available in the module API. Finally, it will make debug much easier, since the actual names of the __global__ functions will automatically be used in traces etc. One detail is that due to how dispatch works now (hipLaunchKernel and hipLaunchKernelGGL are themselves variadic function templates which deduce the function type of the callee), in certain cases it may be necesssary to insert explicit casts to ensure that the variadic argument list selects a viable overload - this can be observed in some unit tests. Eventually we may be able to remove this limitation, but for now it does not appear terribly onerous. The code is not extremely HIPpie, nor is it fully optimised, but rather is intended as a starting point for the HIP team to make its own.
[ROCm/hip commit: c2482d1255]
|
2017-11-01 15:09:59 +00:00 |
|
Rahul Garg
|
1d4213af20
|
Enable hipStreamSync2 and record_event dtests
[ROCm/hip commit: 4b98572f47]
|
2017-08-24 15:51:58 +05:30 |
|
Maneesh Gupta
|
3e230cfcc6
|
[dt] temporarily disable broken tests
Change-Id: I3ce23e410dc36e06d460263d768412f8368a6699
[ROCm/hip commit: b3a9e202b1]
|
2017-07-18 11:17:02 +05:30 |
|
Ben Sander
|
445042f916
|
Fix HIP_SYNC_NULL_STREAM=0 mode.
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow
[ROCm/hip commit: 39c18e5e5f]
|
2017-06-05 08:50:22 -05:00 |
|
Ben Sander
|
f3950e0748
|
Update tests.
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.
[ROCm/hip commit: 8ce6d17983]
|
2017-06-04 20:18:37 -05:00 |
|