This website requires JavaScript.
Explore
Help
Sign In
AI
/
rocm-systems
Watch
2
Star
0
Fork
0
You've already forked rocm-systems
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
52506ef382ab81acfbb33e6b5f5c393b51fbeaf5
rocm-systems
/
projects
/
hip
/
tests
/
src
/
runtimeApi
/
memory
T
History
Phaneendr-kumar Lanka
e2487a261e
[nvccTests] Resubmit hipMemcpyDtoD & inline_asm_vadd
...
[ROCm/hip commit:
7cceebd9ed
]
2017-12-18 14:46:19 +05:30
..
hipArray.cpp
Disable broken tests on hcc path
2017-03-15 12:03:44 +05:30
hipHostGetFlags.cpp
Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
2017-11-29 21:49:10 +00:00
hipHostMalloc.cpp
This implements the trivial change needed to move back from the hip{Something}_{x, y, z} macros to the natural CUDA syntax of Something.{x, y, z}. This is contained in lines 384-404 in hip_runtime.h. All of the other changes have to do with changing unit tests to use this syntax. The macros are retained for backwards compatibility.
2017-11-19 01:54:12 +00:00
hipHostRegister.cpp
Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
2017-11-29 21:49:10 +00:00
hipMemcpy_simple.cpp
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.
2017-11-01 15:09:59 +00:00
hipMemcpy.cpp
[nvccWarnings] Fix warnings seen with dtests on nvcc path
2017-12-14 14:10:37 +05:30
hipMemcpyAll.cpp
directed tests: Updated to use new hip include path
2016-10-04 22:20:50 +05:30
hipMemcpyAsync2.cpp
changed __global__ attribute
2017-02-03 10:53:36 -06:00
hipMemcpyAsync.cpp
Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
2017-11-29 21:49:10 +00:00
hipMemcpyDtoD.cpp
[nvccTests] Resubmit hipMemcpyDtoD & inline_asm_vadd
2017-12-18 14:46:19 +05:30
hipMemcpyDtoDAsync.cpp
[nvccTests] Resubmit hipMemcpyDtoD & inline_asm_vadd
2017-12-18 14:46:19 +05:30
hipMemcpyPeer.cpp
[nvccWarnings] Fix warnings seen with dtests on nvcc path
2017-12-14 14:10:37 +05:30
hipMemcpyPeerAsync.cpp
Re-sync with upstream.
2017-11-20 15:34:50 +00:00
hipMemoryAllocateCoherent.cpp
Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
2017-11-29 21:49:10 +00:00
hipMemoryAllocateCoherentDriver.cpp
Add direct test case for threadfence_system workaround
2016-11-11 15:09:43 -06:00
hipMemPtrGetInfo.cpp
Disable hipMemPtrGetInfo test on nvcc path
2017-03-08 16:16:08 +05:30
hipMemset.cpp
directed tests: Updated to use new hip include path
2016-10-04 22:20:50 +05:30
hipRandomMemcpyAsync.cpp
changed __global__ attribute
2017-02-03 10:53:36 -06:00
hipTestMemcpyPin.cpp
changed __global__ attribute
2017-02-03 10:53:36 -06:00
p2p_copy_coherency.cpp
[nvccWarnings] Fix warnings seen with dtests on nvcc path
2017-12-14 14:10:37 +05:30