Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.
Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049
Migrated functional and negative scenarios of
hipMemcpyAtoH and
hipMemcpyHtoA APIs to catch2 framework
Change-Id: I68bb37d99fc371b8803e64ebf1533c0870b14fab
Changes contain Device files under "hip/tests/src/runtimeApi/device" migrated to Catch2 and some additional device tests.
Change-Id: Ie88adc3c32c2079456b14e029cfc6c319b48d8f6
Added functional and negative scenarios for hipMemcpy2DFromArray and
hipMemcpy2DFromArrayAsync APIs
Change-Id: I269499b1d538affd505d9f529e7516cb3aa17863
http://ontrack-internal.amd.com/browse/SWDEV-230423
1. Moving stress folder from hip/test/src to hip/test.
2. Adding Stream stress tests.
These stress tests create multiple streams and launches kernel on them
in multiple combinations for 100000 iterations. These tests will test
the stability of streams created using hipStreamCreate, hipStreamCreateWithPriority
and hipStreamCreateWithFlags.
3. Adding printf stress tests using simple kernels.
4. Adding printf stress tests using a complex kernel.
Change-Id: Idcd26707fb9504ab8dbe6cebcbb32ade61bf1483
Migrated functional and negative scenarios of
hipMemcpy2D and
hipMemcpy2DAsync APIs to catch2 framework
Change-Id: I339f0914cc76fee194fff53dd9686b0c16d85af9
Added functional and negative scenarios for
hipMemcpy3D and
hipMemcpyParam2D APIs in catch2 framework
Change-Id: I3473eb952c23aba6bc500d78ca93d52a9f7a5d6f
Changes contain Catch2 device multiprocess tests which were covered under "hip/tests/src/runtimeApi/device" and some additional tests. These test files makes use of fork call or sets visible devices env variable and validates various device aspects.
Change-Id: Iaaca37598d386104da9e5f37f92ab176bc8a2845
Add memory filling performance test for large bar device memory,
hip managed memory, conherent/non-coherent host memory and fine
grained device memory
Change-Id: Id3f9bcad45d643e493daf9d5f47b3a012a427178
HIP supports emitting two types of static libraries. One type
will export host functions and is compatible with host linkers.
The second type exports device functions, but is generated with
ar manually. Also, add a README with steps on how to run these
samples with Makefile or CMake.
Change-Id: I1be15c2884583b370092bc8e4bf04f726f8f5a27
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.
Remove Hcc codes from directed_tests and samples.
Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.
Add deprecation notice.
Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/
2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/
3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__
4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__
After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.
Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce
HIP supports compiling kernels from LLVM IR into executable.
The device LLVM IR needs to be compiled into a fat binary
object. This device object is embedded into a host object using
llvm-mc directives. Then, any host linker may link the host and
device objects together into an executable. A README was added.
Change-Id: I8ebb6ae86b7ab4290f7cba2eea5584d73a7c453e
HIP supports compiling kernels from assembly into exec.
The device assembly needs to be compiled into a fat binary
object. This device object is embedded into a host object using
llvm-mc directives. Then, any host linker may link the host and
device objects together into an executable. A README is added.
Change-Id: I59d3a8b5363073810ffc3aa0d57f21b0df272369
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Install rocclr when rocm is installed.
6.Fix some original small bugs.
Revert "Revert "Make directed_test support static libs""
This reverts commit 144a6fb100.
Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702