Jatin Chaudhary
25f1caac8b
SWDEV-289409 - Add hiprtc tests
...
Change-Id: Ib26527b704aed32ae3f3ed38bf6e2fd412462c8e
2021-07-22 00:34:53 -04:00
Tao Sang
586165ebc2
SWDEV-294588 - Enable NV printf DTests
...
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
2021-07-20 21:22:11 -04:00
DURGESH KROTTAPALLI
bdc90769fb
SWDEV-292393 - [catch2][dtest] hipMemcpyAtoH and hipMemcpyHtoA APIs to catch2
...
Migrated functional and negative scenarios of
hipMemcpyAtoH and
hipMemcpyHtoA APIs to catch2 framework
Change-Id: I68bb37d99fc371b8803e64ebf1533c0870b14fab
2021-07-20 18:08:17 +05:30
sumanthtg
44e1ae449a
SWDEV-238517 - [dtest] Catch2 unit tests for device files.
...
Changes contain Device files under "hip/tests/src/runtimeApi/device" migrated to Catch2 and some additional device tests.
Change-Id: Ie88adc3c32c2079456b14e029cfc6c319b48d8f6
2021-07-19 13:38:30 -04:00
Aaron En Ye Shi
9fbd19a675
SWDEV-292904 - Extend HIP coherency tests to gfx940
...
Change-Id: I54d57572d55c302ebaed29c7e11570e3d1b44a8e
2021-07-19 12:13:53 -04:00
Tao Sang
4b5468e8e6
SWDEV-266829 - Enable more NV DTests
...
Enable NV DTests as many as possible.
Change-Id: I3fe6dba35a7a140a9a19df197b7885df83d28044
2021-07-19 11:07:43 -04:00
Tao Sang
c74e2da333
SWDEV-295037 - Fix passed() in DTests
...
passed() should not call exit(0) which will prevent object
destructor being called.
Change-Id: Ibaee0d85cb616727dc5db557bb9422702670b688
2021-07-19 10:59:04 -04:00
Tao Sang
63586279ba
SWDEV-294582 - Fix hipStdComplex in NV
...
Use cuda::std instead of std name space for complex
operations.
Change-Id: I43b23384ac7a129fcd7f41204f796105576cd628
2021-07-19 10:50:11 -04:00
Sarbojit Sarkar
56ed52e69a
SWDEV-289406 - Occuancy test migration
...
Change-Id: Ic6bce9bbad908bd210727f9981f7a3fc750a91ed
2021-07-19 06:15:00 +00:00
DURGESH KROTTAPALLI
f6e9d2491b
SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DFromArray and hipMemcpy2DFromArrayAsync apis.
...
Added functional and negative scenarios for hipMemcpy2DFromArray and
hipMemcpy2DFromArrayAsync APIs
Change-Id: I269499b1d538affd505d9f529e7516cb3aa17863
2021-07-16 16:03:00 -04:00
Tao Sang
a2fdc8cfbd
SWDEV-295381 - Fix hipSimpleAtomicsTest
...
Fix hipSimpleAtomicsTest failure on amd and nvidia devices.
Change-Id: I43b23384ab70129ccd7f41204f796105576cd605
2021-07-15 20:45:51 -04:00
Jatin Chaudhary
b337a5586b
SWDEV-283267 - Add rtc document and remove hip header from tests
...
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
2021-07-14 11:00:38 -04:00
Rupam Chetia
1b53e0c51c
SWDEV-230423 - [dtest] Adding Stress tests.
...
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
2021-07-14 04:40:30 -04:00
Anusha GodavarthySurya
6e7ea5b612
SWDEV-240806 - Added Implementation for few more graph APIs
...
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
DURGESH KROTTAPALLI
b77fe6cc9f
SWDEV-292393 - [catch2][dtest] hipMemcpy2D related dtests to catch2 framework
...
Migrated functional and negative scenarios of
hipMemcpy2D and
hipMemcpy2DAsync APIs to catch2 framework
Change-Id: I339f0914cc76fee194fff53dd9686b0c16d85af9
2021-07-14 00:04:27 +05:30
DURGESH KROTTAPALLI
aa6b01f793
SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy3D and hipMemcpyParam2D APIs
...
Added functional and negative scenarios for
hipMemcpy3D and
hipMemcpyParam2D APIs in catch2 framework
Change-Id: I3473eb952c23aba6bc500d78ca93d52a9f7a5d6f
2021-07-13 12:22:43 -04:00
sumanthtg
6a8fd2b762
SWDEV-238517 - [dtest] Catch2 multiprocess tests for device files.
...
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
2021-07-13 08:42:41 -04:00
DURGESH KROTTAPALLI
48c2a0fb27
SWDEV-292393 - [catch2][dtest] Tests for hipMemcpyPeer and hipMemcpyPeerAsync APIs.
...
Added functional and negative scenarios for
hipMemcpyPeer and
hipMemcpyPeerAsync APIs
Change-Id: Ibaee0d84cb616727dc5db057bb9422702670b686
2021-07-09 01:06:30 -04:00
Anusha GodavarthySurya
9c9b62f0b8
SWDEV-240806 - Enable graph test on nvidia platform
...
Change-Id: Ia196dd7c650693155f786871671aec4dda0e886f
2021-07-08 23:27:20 -04:00
DURGESH KROTTAPALLI
edb1a96cdb
SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DToArray and hipMemcpy2DToArrayAsync apis.
...
Added functional and negative scenarios for hipMemcpy2DToArray and
hipMemcpy2DToArrayAsync APIs
Change-Id: I97331a587fb1d51583faeec998cdb4ac09bfa564
2021-07-08 04:22:43 -04:00
Anusha GodavarthySurya
4025725ed6
SWDEV-240806 - updated hipMemcpyKind in nvidia tyes from enum to typedef
...
Change-Id: Id6a100257d47211cc9868ba84a2964302e4f069c
2021-07-08 02:54:36 -04:00
agunashe
d529637fbc
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Satyanvesh Dittakavi
966741a0b3
SWDEV-293819 - Fix HIP Directed tests build failure
...
- add std=c++11 to the g++ test hipMalloc.cpp to avoid failure on centos
- Also, enabled gcc test hipMalloc.c on amd platform
Change-Id: I3ff6dba05a70140a9a19df107b7885df83d28041
2021-07-07 06:28:17 -04:00
Satyanvesh Dittakavi
f5703d57cd
SWDEV-292618 - Enable/Fix more dtests on Nvidia Platform
...
Change-Id: I0fdac4ddefa693674dfce66ba29306f34ad886c9
2021-07-07 03:23:42 -04:00
cjatin
5cb9a06278
SWDEV-289409 - Batch 2 of device tests
...
Change-Id: I3976b5565bf040e77196ca797afb3f71f0e81d6c
2021-07-06 02:42:14 -04:00
Sarbojit Sarkar
c74bff1d2f
SWDEV-291783 - Catch2 tests for some of Stream APIs
...
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
2021-07-01 01:02:06 -04:00
Satyanvesh Dittakavi
57569c62f4
SWDEV-292618 - Enable/Fix few of the dtests on Nvidia Platform
...
Change-Id: I6f4e37b293aac9054a768f9d692b914f52d42756
2021-06-30 01:23:29 -04:00
Anusha GodavarthySurya
b49118dc2f
SWDEV-290637 - Update tests to use current directory CMAKE_CURRENT_LIST_DIR instead of HIP_SRC_PATH to build from hipamd repo
...
Change-Id: Ide04d9f7b1fc43b475d985a6dce0aa1bd2ec00da
2021-06-25 01:01:16 -04:00
Jatin Chaudhary
23f6977e49
SWDEV-289409 - Add libstdc++fs to unit test exe
...
Change-Id: Id668cd450f032a57d880270188cecf6950b69f40
2021-06-24 04:18:53 -07:00
cjatin
456af4ea39
SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
...
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00
Anusha GodavarthySurya
7c5afff964
SWDEV-240806 - Enable hipgraph test on amd platform
...
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb
2021-06-22 01:41:25 -04:00
Jatin Chaudhary
b21882ac59
SWDEV-277697 - Disable Saxpy test in catch
...
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9
2021-06-21 10:59:42 -04:00
Tao Sang
f70b109cc3
SWDEV-291009 - Fix LaunchCoopMultiKernel on NV
...
Fix compiling error of hipLaunchCoopMultiKernel on
NV A100.
Fix test failure on all NV devices.
Change-Id: Iba20caa0e9021480378625506197384c275a3289
2021-06-18 09:07:17 -04:00
Tao Sang
87ba31e596
SWDEV-291011 - Fix ModuleLaunchKernel on NV
...
Should not add extra for non-parameter dummyKernel()
in hipModuleLaunchKernel()
Change-Id: If6f881ebb027bd3e8435d3de5295b00277e96a6a
2021-06-16 11:52:38 -04:00
Tao Sang
fd50af8c77
SWDEV-291001 - Disable sincos() for NV
...
Disable sincos() for NV temporarily in order
to prevent kernel launch failure for NVA100.
Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3
2021-06-15 13:31:20 -04:00
Jatin Chaudhary
6311c3251b
SWDEV-277697 - Fix issues with nvcc + catch2
...
Change-Id: If9be2d7d6a635964ee0abf8ffa9d948b734864f1
2021-06-15 12:33:20 -04:00
cjatin
575be36c2e
SWDEV-245414 - Add Copyright and exlude mipmap test on Nvidia platform
...
Change-Id: Iba29caa0e9021488378625506197384c275a3282
2021-06-07 11:15:00 -04:00
Tao Sang
792415f960
SWDEV-287768 - Fix hipTestClock test
...
Use long long instead of int as clock64() return.
Change-Id: Id3e4645c05959e13f58efd88bc43f3a1d3e50d59
2021-06-04 15:45:07 -04:00
cjatin
d8ca73da6a
SWDEV-277697 - Fix ununsed variable error with -Werror,-Wunused-parameter
...
Change-Id: Iadd0050e6cf4e4858e1508c1f24f73732a1af443
2021-06-03 13:25:07 -04:00
Vladislav Sytchenko
88242ad446
Revert "SWDEV-255979 - Enable __managed__ test for amd platform"
...
This reverts commit e519600383 .
Change-Id: Ib1be007535dcfb24d9e4eddbdb706d3be4acc20c
2021-06-01 17:37:30 -04:00
Joseph Greathouse
bec284b26a
SWDEV-288361 - Implement funnel shift operators
...
Change-Id: I0c73809366f2d21e75f98fdeac7fed0c7591ee34
2021-06-01 11:10:11 -04:00
cjatin
a47bb99db9
SWDEV-277697 - [CatchTest] Disable CXX Extensions (gnu++11 etc) on CMake
...
Change-Id: I17abd329c16cf0a61316186558828d0524b98281
2021-06-01 06:48:05 -04:00
Anusha GodavarthySurya
d9fffacfb3
SWDEV-255979 - Add support for dynamic __managed__ variables
...
Change-Id: I62b790853ea3ab3b7ac57bab389046c627fdecce
2021-06-01 05:09:51 -04:00
Tao Sang
9ba66fc157
SWDEV-276853 - Add kernelVerify
...
Add kernelVerify for data verification and memory
reading performance checking in kernel.
Change-Id: Id3f9bcad75d643f493daf9d5f47b3a012a427179
2021-05-31 12:45:10 -04:00
Anusha GodavarthySurya
e519600383
SWDEV-255979 - Enable __managed__ test for amd platform
...
Change-Id: I0cb31c1983e68e9010340770a56fc45b2a619dcd
2021-05-31 05:35:05 -04:00
Satyanvesh Dittakavi
da9564e302
SWDEV-286231 - Fix hipMallocManaged tests failure
...
Test is modified as hipMemAttachHost is accepted now by hipMallocManaged
Change-Id: If73d210297cde7a92960eef57a902dbd6402a173
2021-05-31 04:10:47 -04:00
Tao Sang
adf58d4ef1
SWDEV-288106 - Fix g++/hipMalloc
...
Fix a typo
Change-Id: I71328687b2dd4a3f563571f2b755079d83dca63e
2021-05-25 17:23:36 -04:00
Tao Sang
9ed71ade6e
SWDEV-276853 - Add test for mem perf
...
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
2021-05-25 12:32:44 -04:00
Jatin Chaudhary
c088ddbe7c
SWDEV-277697 - [CatchTest] Fix Documentation, Add test to AMD specific, Add HIP Macros, New Binary for multiproc tests
...
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b
2021-05-25 07:12:54 -04:00
Satyanvesh Dittakavi
03ae7251de
SWDEV-286830 - Fix hipStreamACb_ThrdBehaviour on windows
...
use sleep_for which works cross-platform
for other tests as well
Change-Id: I915444d620e9fad0b9eda93bcdd244f9956ab8d5
2021-05-24 03:18:36 -04:00