Commit Graph

1345 Commitit

Tekijä SHA1 Viesti Päivämäärä
Sarbojit2019 3fcc42d05e SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
Maneesh Gupta b09c16b062 Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
Sarbojit2019 9de957d9df SWDEV-292547 - dtests for hipStreamPerThread (#2417) 2022-01-06 16:18:30 +05:30
Maneesh Gupta aee18eb20a SWDEV-316804 - Fix catch2 standalone build failure
project needs to be defined at the beginning of the cmake file.
2022-01-06 12:02:12 +05:30
sumanthtg 2734e94293 SWDEV-309676 - Fix for build failure due to new compiler flag -Wbitwise-instead-of-logical (#2443)
Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17
2021-12-20 14:04:38 +05:30
agunashe eeaadda46e SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5
2021-12-16 10:11:13 +05:30
agunashe d603e4b761 SWDEV-273235 - catch2 packaging for jenkins build (#2430)
Change-Id: I9686b3e26d4e8a24ce97ac1e1f31a4293678d577
2021-12-16 10:11:02 +05:30
shadidashmiz c1e34d006c SWDEV-292011 - xgmi hip test not supported on windows (#2423)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie78bea0f1507b0c103f9cc1cce941d35a9a88a9f
2021-12-02 11:47:02 +05:30
TomSang 5c8af57480 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
2021-12-02 11:46:13 +05:30
agunashe 0d361c5621 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a
2021-11-26 11:52:46 +05:30
agunashe 6c24531156 SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
sumanthtg 02ac5137f5 SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddEmptyNode (#2411)
Change-Id: I93139c195e4621d33d9330413b6eedaf714c72d8
2021-11-26 07:19:49 +05:30
sumanthtg e269ce0a9c SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddDependencies (#2410)
Change-Id: Iec9f15db89192f73ebb7f2452199d0b41d18da88
2021-11-26 07:19:12 +05:30
sumanthtg 71244ada69 SWDEV-308570 - [catch2][dtest] Existing hipGraph tests migrated from HIT to Catch2 (#2409)
Change-Id: If831cb41175b43a98863d2b023f11e9a228f6584
2021-11-26 07:18:18 +05:30
sumanthtg c799271ab5 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode api (#2408)
Change-Id: I970cbf88667c5da19496d6a09e7fa0ffb5e29b2b
2021-11-26 04:45:45 +05:30
kjayapra-amd f86a5a5f64 SWDEV-305993 - Check for P2P access on mgpu setup, before running P2P test cases (#2407)
Change-Id: I537a1a45f42a51b6654fd2ced8120edcb9a54d27
2021-11-25 15:14:01 +05:30
Aakanksha Patil 6902f11835 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
2021-11-25 15:12:09 +05:30
lthakur f6da2f8795 SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30
lthakur 98e8f56d89 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced
2021-11-25 15:10:56 +05:30
Jatin Chaudhary 3aad02a138 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab
2021-11-25 15:09:18 +05:30
Julia Jiang 48b91908bc SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e
2021-11-25 15:08:06 +05:30
Sarbojit2019 96ee9d1397 SWDEV-304161 - Fix for test build failure on Nvidia (#2387) 2021-10-20 14:27:13 -07:00
Maneesh Gupta 36dc2b4cc3 Update hipMallocManaged.cc
* Fix integer and size_t comparisions.
* Split basic scenario into two - all devices and HMM enabled devices only.
2021-10-06 18:45:15 +05:30
Maneesh Gupta 15306667ed Update hipMemPrefetchAsyncExtTsts.cc
Removed unused variables
2021-10-06 18:17:08 +05:30
lthakur ed460452db 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
2021-10-06 17:37:26 +05:30
lthakur 382701025e SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory (#2378)
Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c
2021-10-06 17:33:26 +05:30
TomSang 57f6cd0827 SWDEV-302654 - Fix cooperative_streams_half_capacity (#2376)
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))

Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53
2021-10-06 17:27:39 +05:30
Jatin Chaudhary 44e844d19d SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931
2021-10-06 17:26:52 +05:30
Jatin Chaudhary a935321f9f SWDEV-296918 - Improve the check on test of unsafe atomic API (#2373)
Change-Id: I2631994af0deb4ed6c32141886676b72b8a30204
2021-10-06 17:24:26 +05:30
lthakur 71e8b09070 SWDEV-298757 - hipMemPrefetchAsyncExtTsts.cc - Adding more rigorous tests for hipMemPrefetchAsync() api (#2369)
Change-Id: I321c5c636b6961e9eeee901b98645690783a418b
2021-10-06 17:24:04 +05:30
TomSang b05a0503f1 SWDEV-299966 - Enable texture test (#2340)
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14

Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2
2021-10-06 17:23:33 +05:30
Maneesh Gupta 865b40d8bd [dtest] Remove unused variables in hipMemset2DAsyncMultiThreadAndKernel.cc 2021-09-30 13:17:15 +05:30
lthakur 9ae69c5935 SWDEV-298757 - hipMallocManagedFlagsTst.cc Added tests to test flags of hipMallocManaged() api. (#2366)
Change-Id: I4294a4e5c3176c9ece8ed6b35cb83e4d1a3e4773
2021-09-24 16:29:39 +05:30
Jatin Chaudhary 6e27c48da7 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
2021-09-24 16:28:38 +05:30
Julia Jiang c61bbcce35 SWDEV-286322 - remove unnecessary executable permission (#2362)
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84
2021-09-24 16:28:03 +05:30
Julia Jiang 44581b4d3c SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c
2021-09-24 16:27:51 +05:30
sumanthtg abe851ad75 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
2021-09-24 16:27:39 +05:30
sumanthtg e2dd25333a SWDEV-303262 - Catch2 test fix for -Wunused-but-set-parameter compilation error. (#2357)
Change-Id: I102d80763103fa792ab1282745bd89f8d24454d2
2021-09-24 16:27:17 +05:30
Maneesh Gupta 61ae7884a4 Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 8763c8c2ad.
2021-09-20 10:47:52 +05:30
Maneesh Gupta e31d5bd8e0 Fix catch2 unit test build failure
Incorrect resolution of merge conflict resulted in not updating tests/catch/unit/memory/CMakeLists.txt correctly
2021-09-20 09:41:45 +05:30
sumanthtg 8c0558c448 SWDEV-292637 - [dtest] Catch2 unit and multiprocess tests for Memset3d,HostMalloc and MallocConcurrency tests (#2348)
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134
2021-09-17 12:11:26 +05:30
sumanthtg b537d94974 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>
2021-09-17 11:54:39 +05:30
dkrottap 8763c8c2ad 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
2021-09-17 11:39:36 +05:30
sumanthtg bef1aa7ee6 SWDEV-292643 - [dtest] Catch2 additional unit tests for stream management apis. (#2349)
APIs covered :
hipStreamGetPriority, hipStreamCreate, hipStreamGetFlags, hipExtStreamGetCUMask apis.

Change-Id: I238b4e631938471eab05c598f91477eeb0856054
2021-09-17 11:39:25 +05:30
sumanthtg f7be53ba75 SWDEV-294470 - [dtest] Catch2 unit tests for memset related tests. (#2345)
Change-Id: Ib227e75cb0bef9273bc787e47fa5b713086fac46
2021-09-17 11:37:05 +05:30
sumanthtg 2a17c5662d SWDEV-292643 - [dtest] Catch2 unit tests for stream management apis. (#2343)
Catch2 tests for : hipStreamAddCallback, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipExtStreamCreateWithCUMask

Change-Id: Ia99c06b1e97fc945f1a740e47710f4dcd70f38cd
2021-09-14 13:38:07 +05:30
TomSang de8bb09c29 SWDEV-299755 - Fix hiprtc failure on NV (#2341)
1. Add missing nvrtc lib.
2. Add context creation before call module(driver) api.
3. Remove obsolete saxpy_pch test.

Change-Id: I5add27ebabcf021fa3ef99d09004c5d13423a297
2021-09-14 13:37:56 +05:30
TomSang ae73179d40 SWDEV-298338 - Fix memory test failure on NV MGPUs (#2339)
1. Fix hipMallocManagedMultiChunkMultiDevice
Add device setting before kernel launching
Add stream sync

2. Fix hipMemcpyAtoH and hipMemcpyHtoA
Fix primary context initialization issue when device
is changed on cuda

Change-Id: I3fe6dbc35b7b24abb21ada297b7885df83d28152
2021-09-14 13:37:46 +05:30
TomSang 7dba6dc28e SWDEV-299960 - Fix .hipTestAtomicAdd test on NV (#2338)
1. Add --gpu-architecture=compute_60 to fully support AtomicAdd()
2. Add atomicAddNoRet() for NV.

Change-Id: I5add28ebabcfa21fb3ef99d09004c5d13423a290
2021-09-14 13:37:30 +05:30
TomSang 9035ae3154 SWDEV-299773 - Enable performance tests on NV (#2337)
1. Simply enable test on NV
   Some need minor fix
performance/compute/hipPerfDotProduct.cpp
performance/dispatch/hipPerfDispatchSpeed.cpp
performance/memory/hipPerfBufferCopyRectSpeed.cpp
performance/memory/hipPerfBufferCopySpeed.cpp
performance/memory/hipPerfDevMemReadSpeed.cpp
performance/memory/hipPerfDevMemWriteSpeed.cpp
performance/memory/hipPerfMemcpy.cpp
performance/memory/hipPerfMemset.cpp
performance/memory/hipPerfSharedMemReadSpeed.cpp
performance/stream/hipPerfDeviceConcurrency.cpp
performance/stream/hipPerfStreamCreateCopyDestroy.cpp

2. Enable and fix on NV
performance/compute/hipPerfMandelbrot.cpp
   Root cause: coordIdx is random
   Solution: Initialize coordIdx correctly
performance/memory/hipPerfMemFill.cpp
   Root cause: Hip ext Apis called.
   Solution: Exclude case with Hip ext Apis involved
performance/memory/hipPerfMemMallocCpyFree.cpp
   Root cause: Test allocates device memory more than GPU has.
   Solution: Allocate device memory in terms of GPU capacity.
tests/performance/memory/hipPerfSampleRate.cpp
   Root cause: Cuda has no operators += for float2 and float4.
   Solution: Provide the operators.
performance/stream/hipPerfStreamConcurrency.cpp
   Root cause:float4 format doesn't match cude.
              operators are missing in cuda lib.
   Solution: Use (x, y, z, w) format.
             Add necessary float4 operatoris for cuda.

Change-Id: I5add29ebabcfb21fb3ef89d09004c5d13423a291
2021-09-14 13:37:13 +05:30