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
Satyanvesh Dittakavi
f300d11931
SWDEV-278464 - Update unit test hipEventMultiThreaded
...
Run with multiple threads to catch possible race condition
Disable running the test by default on CI as this takes lot of time
Change-Id: I1c1a66fd5c72f8d2bf7ad120461384488b46abbd
2021-05-21 02:57:14 -04:00
Satyanvesh Dittakavi
acafb344c0
SWDEV-285521 - SWDEV-284626 - Fix P2P and Caffe2 test failures
...
- waitList was released before the awaitcompletion
causing stream sync after the async copies fail
- Enable the hipPeerToPeer_simple test
Change-Id: I1eeaa7e6320ab38c106902078f034dfec4c3f3ea
2021-05-21 02:54:22 -04:00
Julia Jiang
f8a08e2429
SWDEV-286322 - Fix EOL in files
...
Change-Id: I1746e80aceeeaa4fc5df65c858f4816d99010186
2021-05-19 14:48:53 -04:00
cjatin
8084df7b49
SWDEV-277697 - Adding Infra and dependent libs: Catch2 and json parser, for new HIP Testing framework
...
Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d
2021-05-19 00:47:00 -04:00
Sourabh Betigeri
6bcbb61e5f
SWDEV-282354 - Some AMD GPUs cause clock64() to roll over faster, this changeset prevents infinite loops due to that.
...
Change-Id: I19d026073afa16104ffbee4705b74d37003a04d9
2021-05-11 20:40:23 -04:00
Anusha Godavarthy Surya
c35ba37287
SWDEV-240806 - Initial commit for hipGraph and stream capture infrastructure
...
On StreamBegincapture captures the parameters passed to APIs and respective node will be created and added to graph
All parameters are passed to STREAM_CAPTURE macro, it checks if stream in capture mode and redirects the call to the capture function and returns
Updated hipStream and hipEvent with capture parameters
Added handling for hipStreamBeginCapture & hipStreamEndCapture
Change-Id: Ic8926a7b4336c2cc81f0b3a9a224aa392c474134
2021-05-07 17:38:16 -04:00
Ravi C Akkenapally
db7421cb10
SWDEV-281998 - TEST: StreamOperations : Split StreamWait and Update into two seperate threads
...
Change-Id: I0fda25857dd9f097f36ce1bafedb7689ca2beecc
2021-05-07 11:11:28 -07:00
Aaron En Ye Shi
9edd31100d
SWDEV-283930 - Fix bugs in HIP Tests on Windows
...
Windows doesn't have headers unistd.h, sys/wait.h, so
remove them for _WIN64. Also, Windows doesn't have rand_r
so define it. Fixes builds for HIP tests:
d2dMemCpyWithPinnedHostMemory, hipMemset3DFunctional,
hipModuleLoadMultProcessOnMultGPU,
hipModuleLoadUnloadStress, hipModuleNegative,
hipStreamACb_ThrdBehaviour, hipMemcpyNegativeMThrdMSize,
hipStreamACb_MStrm_Mgpu, StreamAddCallback,
hipStreamACb_StrmSyncTiming, hipStreamACb_MultiCalls,
hipMallocConcurrency, hipMemset3DRegressMultiThread,
and hipSetGetDevice.
Change-Id: Id2f98d664716026c590d879e464ba467d4c071be
2021-04-30 21:38:45 +00:00
kjayapra-amd
9c07201c6b
SWDEV-245533 - Implementing Mipmap array APIs
...
Change-Id: I222c8d0fcbd50cdefd702462e689463bb36366d2
2021-04-30 16:33:43 -04:00
Satyanvesh Dittakavi
98d1acf1f2
SWDEV-278464 - Unit Test For Suspected race condition
...
Change-Id: I561ec3073a6e6813c5f7aa50983fcf098c6ac54a
2021-04-29 23:40:43 -04:00