Граф коммитов

397 Коммитов

Автор SHA1 Сообщение Дата
lthakur cd23bb5709 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459) 2022-02-22 19:30:16 -08:00
agunashe 835bde481b SWDEV-1 - hip change for Windows applications hipInfo (#2471)
BLDSPPT-3818

Change-Id: I624786a0d79678fbd850f0b8bedc7314731a77f4
2022-02-10 08:27:05 -08:00
agunashe ec8d624959 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
2022-02-09 08:17:45 -08:00
TomSang 0375f8e638 SWDEV-315590 - Fix texture fetch issue (#2467)
Add
tests/catch/unit/texture/hipTextureObjFetchVector.cc

Change-Id: Ifed915c87573b789780b2180321ccb746845dafb
2022-01-31 19:53:09 -08:00
Sarbojit2019 33ac9de928 SWDEV-3161551 - Fix for P2P sample failure (#2456) 2022-01-11 13:52:13 +05:30
Sarbojit2019 2551628cc0 SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
Maneesh Gupta e1e4e30ffe Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
Sarbojit2019 d756a47a41 SWDEV-292547 - dtests for hipStreamPerThread (#2417) 2022-01-06 16:18:30 +05:30
Maneesh Gupta 160a9dabe9 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 2201b35f5e 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 2e4d43deb1 SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5
2021-12-16 10:11:13 +05:30
agunashe 7073499c22 SWDEV-273235 - catch2 packaging for jenkins build (#2430)
Change-Id: I9686b3e26d4e8a24ce97ac1e1f31a4293678d577
2021-12-16 10:11:02 +05:30
agunashe 3ccd6ec300 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a
2021-11-26 11:52:46 +05:30
agunashe f90c5d218c SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
sumanthtg 07c2e5b668 SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddEmptyNode (#2411)
Change-Id: I93139c195e4621d33d9330413b6eedaf714c72d8
2021-11-26 07:19:49 +05:30
sumanthtg 0840b502e2 SWDEV-306122 - [catch2][dtest] hipGraph functional tests for hipGraphAddDependencies (#2410)
Change-Id: Iec9f15db89192f73ebb7f2452199d0b41d18da88
2021-11-26 07:19:12 +05:30
sumanthtg 085fa55238 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 f422d75818 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode api (#2408)
Change-Id: I970cbf88667c5da19496d6a09e7fa0ffb5e29b2b
2021-11-26 04:45:45 +05:30
Sarbojit2019 d287ee0b43 SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform (#2404) 2021-11-25 15:13:22 +05:30
Aakanksha Patil da9a79a5f6 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 3fbea0cd5a 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 0863a2e813 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced
2021-11-25 15:10:56 +05:30
ansurya dc06edf44d SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
2021-11-25 15:10:15 +05:30
Jatin Chaudhary 4df3d1af47 SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab
2021-11-25 15:09:18 +05:30
Sarbojit2019 6b70924fe0 SWDEV-304161 - Fix for test build failure on Nvidia (#2387) 2021-10-20 14:27:13 -07:00
Maneesh Gupta d8ea9afa66 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 19b7b746d0 Update hipMemPrefetchAsyncExtTsts.cc
Removed unused variables
2021-10-06 18:17:08 +05:30
lthakur 211b191be9 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 b86c5fb60e SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory (#2378)
Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c
2021-10-06 17:33:26 +05:30
pghafari fa8e4f1f8b SWDEV-245532 - HIP - Vulkan interop example (#2375)
Change-Id: I713ff8fd9da49aa521aee278d1476fd8b4739fc5
2021-10-06 17:27:22 +05:30
Jatin Chaudhary cce98e445a SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931
2021-10-06 17:26:52 +05:30
Jatin Chaudhary 13ad100cf8 SWDEV-296918 - Improve the check on test of unsafe atomic API (#2373)
Change-Id: I2631994af0deb4ed6c32141886676b72b8a30204
2021-10-06 17:24:26 +05:30
lthakur af8edb2a8f SWDEV-298757 - hipMemPrefetchAsyncExtTsts.cc - Adding more rigorous tests for hipMemPrefetchAsync() api (#2369)
Change-Id: I321c5c636b6961e9eeee901b98645690783a418b
2021-10-06 17:24:04 +05:30
Maneesh Gupta 424b01f968 [dtest] Remove unused variables in hipMemset2DAsyncMultiThreadAndKernel.cc 2021-09-30 13:17:15 +05:30
lthakur 01ed876b0a 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 f88fed2b45 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 43a2f75882 SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c
2021-09-24 16:27:51 +05:30
sumanthtg 770b64e848 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 dc22ccc85e 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 1d15e18e30 Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 4e1a3ff850.
2021-09-20 10:47:52 +05:30
Maneesh Gupta b7193e19da 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 d818f6920d 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 e3996d3b92 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 4e1a3ff850 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 039b342e14 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 429d02b564 SWDEV-294470 - [dtest] Catch2 unit tests for memset related tests. (#2345)
Change-Id: Ib227e75cb0bef9273bc787e47fa5b713086fac46
2021-09-17 11:37:05 +05:30
sumanthtg 06749136b9 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 bfc2f4516a 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
Jatin Chaudhary 731a353e74 SWDEV-296918 - Adding unsafe atomics test for gfx90a (#2331)
Change-Id: I3936e0b30e15aff154bdab3efe3f6da2ccce3578
2021-09-06 12:21:38 +05:30
Julia Jiang 190babdaab SWDEV-286322 - remove unnecessary executable permission in some HIP files (#2329)
Change-Id: If992963761a73d709e08330bc36f2c979d5dcae9
2021-09-02 08:47:57 +05:30