Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Вход
AI
/
rocm-systems
Следить
2
В избранное
0
Форкнуть
0
Вы уже форкнули rocm-systems
Код
Задачи
Запросы на слияние
Действия
Пакеты
Проекты
Релизы
Вики
Активность
Files
c5f2b22d0daed9da83534380567380f2625db2b7
rocm-systems
/
tests
/
src
/
runtimeApi
/
memory
T
История
Alex Voicu
c5f2b22d0d
Re-sync with upstream.
2017-11-20 15:34:50 +00:00
..
hipArray.cpp
Disable broken tests on hcc path
2017-03-15 12:03:44 +05:30
hipHostGetFlags.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
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
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
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
Clean up trailing whitespace so as to reduce noise in
#246
.
2017-11-08 00:08:55 +00:00
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
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
hipMemcpyDtoD.cpp
Update new tests so as to make them work with new variadic based launch mechanisms.
2017-11-10 00:14:34 +00:00
hipMemcpyDtoDAsync.cpp
Update new tests so as to make them work with new variadic based launch mechanisms.
2017-11-10 00:14:34 +00:00
hipMemcpyPeer.cpp
Update new tests so as to make them work with new variadic based launch mechanisms.
2017-11-10 00:14:34 +00:00
hipMemcpyPeerAsync.cpp
Re-sync with upstream.
2017-11-20 15:34:50 +00:00
hipMemoryAllocateCoherent.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
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
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