Commit Graph

1349 Commits

Author SHA1 Message Date
TomSang f1ed56ab72 SWDEV-306947 - Add mode combination tests (#2447)
Address modes are valid for array rather than linear
memory. Comment out codes of address test for linear
memory.
Add tests of mode combination(address, linear and
normorlized coordinates) in 1D, 2D and 3D.

Change-Id: I9e7e97d9bf619743c311f68f51d5bf115fdd534d

[ROCm/hip commit: e05f98967e]
2022-02-17 13:48:45 -08:00
agunashe f8746b1982 SWDEV-273235 - hip change to build catch tests on Windows (#2472)
* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux

[ROCm/hip commit: ffe3f9cf81]
2022-02-09 08:17:45 -08:00
TomSang 27107af5a3 SWDEV-315590 - Fix texture fetch issue (#2467)
Add
tests/catch/unit/texture/hipTextureObjFetchVector.cc

Change-Id: Ifed915c87573b789780b2180321ccb746845dafb

[ROCm/hip commit: c341658db1]
2022-01-31 19:53:09 -08:00
TomSang 242779287f SWDEV-319221 - Fix c++/g++ build (#2464)
CentOS 7.5 has too old c++/g++/gcc(<version 5) in /usr/bin.
They cannot support __has_attribute, thus build failure will
happen.
Remove hardcoded /usr/bin path so that the target version will
be selected via PATH. For example in CentOS,
PATH=/opt/rh/devtoolset-7/root/usr/bin:$PATH, c++/g++/gcc will
be from /opt/rh/devtoolset-7/root/usr/bin.

Change-Id: Id77c54127eb0b9960e78897af75cfc3666d85689

[ROCm/hip commit: b253a4617b]
2022-01-23 21:45:36 -08:00
Sarbojit2019 bc20b513c4 SWDEV-310181 - Fix for memcpy3D test failure (#2455)
[ROCm/hip commit: 3fcc42d05e]
2022-01-11 13:50:49 +05:30
Maneesh Gupta f617a9ccbb Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733

[ROCm/hip commit: b09c16b062]
2022-01-06 16:23:09 +05:30
Sarbojit2019 77a716268f SWDEV-292547 - dtests for hipStreamPerThread (#2417)
[ROCm/hip commit: 9de957d9df]
2022-01-06 16:18:30 +05:30
Maneesh Gupta 422b68dc0a SWDEV-316804 - Fix catch2 standalone build failure
project needs to be defined at the beginning of the cmake file.

[ROCm/hip commit: aee18eb20a]
2022-01-06 12:02:12 +05:30
sumanthtg 0f1a85cd1c SWDEV-309676 - Fix for build failure due to new compiler flag -Wbitwise-instead-of-logical (#2443)
Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17

[ROCm/hip commit: 2734e94293]
2021-12-20 14:04:38 +05:30
agunashe 6a81c11669 SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5

[ROCm/hip commit: eeaadda46e]
2021-12-16 10:11:13 +05:30
agunashe cb6829a5de SWDEV-273235 - catch2 packaging for jenkins build (#2430)
Change-Id: I9686b3e26d4e8a24ce97ac1e1f31a4293678d577

[ROCm/hip commit: d603e4b761]
2021-12-16 10:11:02 +05:30
shadidashmiz 051a25b447 SWDEV-292011 - xgmi hip test not supported on windows (#2423)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie78bea0f1507b0c103f9cc1cce941d35a9a88a9f

[ROCm/hip commit: c1e34d006c]
2021-12-02 11:47:02 +05:30
TomSang b87ef5aa18 SWDEV-303204 - Disable texture/image Apis on some devices. (#2381)
Modify texture tests to pass on devices that don't support texture.
Add hipDeviceAttributeImageSupport to check image support in runtime

Change-Id: Ia89c494e651a6198a24448b59a91e046a9ebea38

[ROCm/hip commit: 5c8af57480]
2021-12-02 11:46:13 +05:30
agunashe e90cc323e3 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a

[ROCm/hip commit: 0d361c5621]
2021-11-26 11:52:46 +05:30
agunashe 6a5e1ea51e SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip commit: 6c24531156]
2021-11-26 11:02:29 +05:30
sumanthtg a4d0f06eb7 SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddEmptyNode (#2411)
Change-Id: I93139c195e4621d33d9330413b6eedaf714c72d8

[ROCm/hip commit: 02ac5137f5]
2021-11-26 07:19:49 +05:30
sumanthtg 89a8c9d37e SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddDependencies (#2410)
Change-Id: Iec9f15db89192f73ebb7f2452199d0b41d18da88

[ROCm/hip commit: e269ce0a9c]
2021-11-26 07:19:12 +05:30
sumanthtg 65dff13267 SWDEV-308570 - [catch2][dtest] Existing hipGraph tests migrated from HIT to Catch2 (#2409)
Change-Id: If831cb41175b43a98863d2b023f11e9a228f6584

[ROCm/hip commit: 71244ada69]
2021-11-26 07:18:18 +05:30
sumanthtg 1a838c8f14 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode api (#2408)
Change-Id: I970cbf88667c5da19496d6a09e7fa0ffb5e29b2b

[ROCm/hip commit: c799271ab5]
2021-11-26 04:45:45 +05:30
kjayapra-amd f835b6f2a4 SWDEV-305993 - Check for P2P access on mgpu setup, before running P2P test cases (#2407)
Change-Id: I537a1a45f42a51b6654fd2ced8120edcb9a54d27

[ROCm/hip commit: f86a5a5f64]
2021-11-25 15:14:01 +05:30
Aakanksha Patil da389e1486 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md

[ROCm/hip commit: 6902f11835]
2021-11-25 15:12:09 +05:30
lthakur ba6fe1a221 SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53

[ROCm/hip commit: f6da2f8795]
2021-11-25 15:11:10 +05:30
lthakur 3ef5780969 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced

[ROCm/hip commit: 98e8f56d89]
2021-11-25 15:10:56 +05:30
Jatin Chaudhary ebfdc5c9e5 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab

[ROCm/hip commit: 3aad02a138]
2021-11-25 15:09:18 +05:30
Julia Jiang 3351c0a2f7 SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e

[ROCm/hip commit: 48b91908bc]
2021-11-25 15:08:06 +05:30
Sarbojit2019 378995cbe1 SWDEV-304161 - Fix for test build failure on Nvidia (#2387)
[ROCm/hip commit: 96ee9d1397]
2021-10-20 14:27:13 -07:00
Maneesh Gupta 8aad90d0bd Update hipMallocManaged.cc
* Fix integer and size_t comparisions.
* Split basic scenario into two - all devices and HMM enabled devices only.

[ROCm/hip commit: 36dc2b4cc3]
2021-10-06 18:45:15 +05:30
Maneesh Gupta 8143a1dde0 Update hipMemPrefetchAsyncExtTsts.cc
Removed unused variables

[ROCm/hip commit: 15306667ed]
2021-10-06 18:17:08 +05:30
lthakur cbb5deb342 SWDEV-298757 - hipMallocManaged.cc Adding basic and rigorous scenarios related to hipMallocManaged() api. (#2379)
* SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory

Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c

[ROCm/hip commit: ed460452db]
2021-10-06 17:37:26 +05:30
lthakur 4a3628f75b SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory (#2378)
Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c

[ROCm/hip commit: 382701025e]
2021-10-06 17:33:26 +05:30
TomSang c21a3f06ad SWDEV-302654 - Fix cooperative_streams_half_capacity (#2376)
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))

Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53

[ROCm/hip commit: 57f6cd0827]
2021-10-06 17:27:39 +05:30
Jatin Chaudhary e4b9d607dd SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931

[ROCm/hip commit: 44e844d19d]
2021-10-06 17:26:52 +05:30
Jatin Chaudhary 2b8bf18dc9 SWDEV-296918 - Improve the check on test of unsafe atomic API (#2373)
Change-Id: I2631994af0deb4ed6c32141886676b72b8a30204

[ROCm/hip commit: a935321f9f]
2021-10-06 17:24:26 +05:30
lthakur 1b30fb0783 SWDEV-298757 - hipMemPrefetchAsyncExtTsts.cc - Adding more rigorous tests for hipMemPrefetchAsync() api (#2369)
Change-Id: I321c5c636b6961e9eeee901b98645690783a418b

[ROCm/hip commit: 71e8b09070]
2021-10-06 17:24:04 +05:30
TomSang 3aa91ecfd7 SWDEV-299966 - Enable texture test (#2340)
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14

Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2

[ROCm/hip commit: b05a0503f1]
2021-10-06 17:23:33 +05:30
Maneesh Gupta 266355ffb3 [dtest] Remove unused variables in hipMemset2DAsyncMultiThreadAndKernel.cc
[ROCm/hip commit: 865b40d8bd]
2021-09-30 13:17:15 +05:30
lthakur 349a189e7a SWDEV-298757 - hipMallocManagedFlagsTst.cc Added tests to test flags of hipMallocManaged() api. (#2366)
Change-Id: I4294a4e5c3176c9ece8ed6b35cb83e4d1a3e4773

[ROCm/hip commit: 9ae69c5935]
2021-09-24 16:29:39 +05:30
Jatin Chaudhary 6b654c0bf3 SWDEV-297706 - Set HIP_ARCHITECTURE Property to off. Since cmake 3.21 cmake has added this property(https://gitlab.kitware.com/cmake/cmake/-/blob/master/Help/prop_tgt/HIP_ARCHITECTURES.rst) (#2364)
Change-Id: I33580ac0171ac3744341fcbf25cc3421a1512166

[ROCm/hip commit: 6e27c48da7]
2021-09-24 16:28:38 +05:30
Julia Jiang 3d53651d31 SWDEV-286322 - remove unnecessary executable permission (#2362)
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84

[ROCm/hip commit: c61bbcce35]
2021-09-24 16:28:03 +05:30
Julia Jiang e3c8349e2e SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c

[ROCm/hip commit: 44581b4d3c]
2021-09-24 16:27:51 +05:30
sumanthtg 2788cb1243 SWDEV-238517 - [dtest] New Catch2 Tests for texture object apis. (#2358)
Seperate Catch2 files are created for each resource type. Future test additions of respective resource type will be added to resource type specific files.

Change-Id: I7ba09f5bd31605bb670ec70ed7f12904e34cf40d

[ROCm/hip commit: abe851ad75]
2021-09-24 16:27:39 +05:30
sumanthtg fc106647e3 SWDEV-303262 - Catch2 test fix for -Wunused-but-set-parameter compilation error. (#2357)
Change-Id: I102d80763103fa792ab1282745bd89f8d24454d2

[ROCm/hip commit: e2dd25333a]
2021-09-24 16:27:17 +05:30
Maneesh Gupta 1ffcd30e5a Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 9ea3c833bc.

[ROCm/hip commit: 61ae7884a4]
2021-09-20 10:47:52 +05:30
Maneesh Gupta 4cf1bd9334 Fix catch2 unit test build failure
Incorrect resolution of merge conflict resulted in not updating tests/catch/unit/memory/CMakeLists.txt correctly

[ROCm/hip commit: e31d5bd8e0]
2021-09-20 09:41:45 +05:30
sumanthtg b7039d9a4a SWDEV-292637 - [dtest] Catch2 unit and multiprocess tests for Memset3d,HostMalloc and MallocConcurrency tests (#2348)
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134

[ROCm/hip commit: 8c0558c448]
2021-09-17 12:11:26 +05:30
sumanthtg 6461d71f55 SWDEV-294470 - [dtest] Catch2 unit tests for hipMemset2d, hipMemset2d Mthread, hipMemset3d files. (#2347)
Change-Id: Ia503f9dd12b8c576dee17c3fcbb018eeac305a7e

Co-authored-by: Maneesh Gupta <maneesh.gupta@amd.com>

[ROCm/hip commit: b537d94974]
2021-09-17 11:54:39 +05:30
dkrottap 9ea3c833bc SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)
Migrated all module related files to CATCH2 framework and optimized to
have single module kernel file

Change-Id: I39aa28ef22c1b2f4d0014ca32b59b9c645b725dc

[ROCm/hip commit: 8763c8c2ad]
2021-09-17 11:39:36 +05:30
sumanthtg 2d35d4b1f5 SWDEV-292643 - [dtest] Catch2 additional unit tests for stream management apis. (#2349)
APIs covered :
hipStreamGetPriority, hipStreamCreate, hipStreamGetFlags, hipExtStreamGetCUMask apis.

Change-Id: I238b4e631938471eab05c598f91477eeb0856054

[ROCm/hip commit: bef1aa7ee6]
2021-09-17 11:39:25 +05:30
sumanthtg 3e6857f698 SWDEV-294470 - [dtest] Catch2 unit tests for memset related tests. (#2345)
Change-Id: Ib227e75cb0bef9273bc787e47fa5b713086fac46

[ROCm/hip commit: f7be53ba75]
2021-09-17 11:37:05 +05:30
sumanthtg bc851a78ac SWDEV-292643 - [dtest] Catch2 unit tests for stream management apis. (#2343)
Catch2 tests for : hipStreamAddCallback, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipExtStreamCreateWithCUMask

Change-Id: Ia99c06b1e97fc945f1a740e47710f4dcd70f38cd

[ROCm/hip commit: 2a17c5662d]
2021-09-14 13:38:07 +05:30