Commit graph

1730 Commits

Autor SHA1 Nachricht Datum
Rakesh Roy fce17f9804 SWDEV-389829 - Fix hipModule_--tests_0x2 failure on MI100 (#3283)
- gfx908 and gfx908:sramecc+:xnack- together cannot be passed as --offload-arch to hipcc
- Strip features from gcnArchName before passing to hipcc

[ROCm/hip commit: 7a7eeec685]
2023-07-06 14:23:06 +05:30
ROCm CI Service Account 4fcf5a94f4 SWDEV-369569 - updated hipModuleLaunch test (#3241)
Change-Id: I62354f9d65b1e18d650759b32b1115810fafba57

[ROCm/hip commit: f86ae60324]
2023-06-28 21:53:46 +05:30
ROCm CI Service Account b9abbb54cc SWDEV-400498 - Fix cooperative_streams_full_capacity test (#3237)
- Use kernel having  wall_clock64 for gfx11
- Correct allocated memory size
- Use gpu event for kernel timing in place of std::chrono::system_clock
- Adjust comparison factors to accommodate kernel execution time differences

Change-Id: Ib119e8553a111feaf358693c911e650c1d50633f

[ROCm/hip commit: 7aa4cd6862]
2023-06-28 21:52:55 +05:30
ROCm CI Service Account 53ec2cf98c SWDEV-389829 - Fix rocprof-hiptrace-hipModule_--tests_0x2 (#3208)
- Don't use HIP_PATH for kernel compilation.
- Make the test fail when code object file doesn't get created.
- Disable the test for Nvidia.

Change-Id: I0c78d6c0567aff058cb99fb3696b8d64c9a437ed

[ROCm/hip commit: dcb234c01f]
2023-06-28 21:51:43 +05:30
ROCm CI Service Account c400f31266 SWDEV-406099 - fix zero-length gnu_printf format warning in linux PSDB logs (#3262)
Change-Id: I71ca50a11a83e57d4b8d41c225a55e5138e55731

[ROCm/hip commit: e8437f6326]
2023-06-16 15:01:38 -07:00
ROCm CI Service Account 7b3a57c9b9 SWDEV-399104 - Fix hipMemcpy2DAsync_PinnedMemory.tst (#3231)
failure

- As per spec, hipMemset2D is async with respect to host when target memory is device memory
- Hence need to call hipDeviceSynchronize before changing device

Change-Id: I58e6efc9466233d80b8ba2c58c0c691c68827128



[ROCm/hip commit: 856d4b5075]
2023-05-24 17:44:22 -07:00
ROCm CI Service Account 1b8de78b2c SWDEV-345571 - Updated shfl tests to check __half datatype (#3196)
Change-Id: I23d05fcf99b7634fb9ff9456d597541b48b8a1dd


[ROCm/hip commit: 3ee563eec5]
2023-05-09 09:18:09 -07:00
ROCm CI Service Account 550bb45784 SWDEV-379678 - Remove tests/catch and samples (#3190)
HIP catch tests and samples have been moved to an independent github project hip-tests. Please refer to hip-tests Readme for build instructions!

Change-Id: Ia12fb5159179eb8fcf080c3928bdd539fadced04


[ROCm/hip commit: 930469a176]
2023-03-22 18:42:08 -07:00
ROCm CI Service Account e1afcf3eea SWDEV-369567, SWDEV-369569 - updated max grid val (#3179)
Change-Id: I7626542ec0adb409f9d51317caf40da9ed9fee01


[ROCm/hip commit: 862e981900]
2023-03-21 09:03:06 -07:00
ROCm CI Service Account daf4de3aa4 SWDEV-337452 - Changing Clock64 to WallClock64 in directed tests. (#3140)
Change-Id: I511ab4dcc61daee4fdfbd2a248b5fe74e52174b2


[ROCm/hip commit: 0ea181501c]
2023-03-20 13:18:32 -07:00
ROCm CI Service Account d3152b1415 SWDEV-373630 - Modified occupancy query tests to conform with new error messages. (#3175)
Change-Id: I20e16e78cb5f170609b33e0770b7fca5bff2b280

[ROCm/hip commit: 5557d17afc]
2023-03-06 21:11:25 +05:30
ROCm CI Service Account bb5bc88311 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#3142)
Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858

[ROCm/hip commit: e0425b53e0]
2023-02-23 22:00:33 -08:00
ROCm CI Service Account 985bdb8abf SWDEV-370743 - Change the hard coded CU mask to support higher CUs. (#3144)
Change-Id: I87ac149a6144959b46963ed8c867e6d3b6bca462

[ROCm/hip commit: 5c3e4fba39]
2023-02-23 17:40:26 -08:00
ROCm CI Service Account 88979fb664 SWDEV-370742 - Check image support before using image APIs. (#3143)
Change-Id: I2fc086256bca605385f2f6a94119b46741020afa


[ROCm/hip commit: 24cc1bc2bb]
2023-02-23 17:39:36 -08:00
Siu Chi Chan 366445410e SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt

Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4

[ROCm/hip commit: a388eb1e6f]
2023-01-23 22:42:52 -08:00
ROCm CI Service Account ddd85e25fe SWDEV-345571 - template parameter redefines error disable temporarily for shfl changes (#3109)
Change-Id: Ife1e274c5442854d2beddf9a1b5ac87358df19f2

[ROCm/hip commit: 464abba716]
2022-12-20 11:16:16 -08:00
Maneesh Gupta f0a49da54d Update hipDeviceReset.cc
- Don't destroy the stream after reset since behavior is not consistent.

[ROCm/hip commit: 0a478fb801]
2022-12-05 08:56:05 +05:30
Maneesh Gupta e2bf3818b9 Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily
[ROCm/hip commit: a0cb54fa79]
2022-12-02 12:41:06 +05:30
Mirza Halilčević 4728d85ef0 EXSWHTEC-3 - Implement tests for hipDeviceReset (#2873)
* Implement tests for hipDeviceReset

- Basic test for behaviour validation
- Multithreaded test similar to basic test.

* Update license boilerplate.

Signed-off-by: Dino Music <dino.music@htecgroup.com>

* EXSWHTEC-3 - Add stream and memory checks to hipDeviceReset tests.

* EXSWHTEC-3 - Corrected expected error code for hipStreamDestroy

* EXSWHTEC-3 - Corrected check ordering in
Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Exclude hipDeviceSetGetCacheConfig checks for AMD

* EXSWHTEC-3 - Corrected merge error in device/CMakeLists.txt

* EXSWHTEC-3 - Remove NVIDIA guards from tests and relax the code.

* EXSWHTEC-3 - Update tests to take into account unsupported operations on AMD

* EXSWHTEC-3 - Fix bug in Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Disable hipDeviceReset tests for AMD.


[ROCm/hip commit: 72134a78f2]
2022-11-30 20:37:20 -08:00
music-dino 89cc21a228 EXSWHTEC-81 - Implement tests for hipGetSymbolAddress and hipGetSymbolSize (#3002)
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA

[ROCm/hip commit: 1f774ad632]
2022-11-30 17:28:13 +05:30
ROCm CI Service Account 9dcc199099 SWDEV-351024 - [catch2][dtest] Multiprocess test cases for the API hipMemGetInfo() (#2864)
Change-Id: Icaf780a4f11e8f62622b3f81ba84646c734d79e1

[ROCm/hip commit: 0c0645a561]
2022-11-30 15:27:36 +05:30
ROCm CI Service Account 9c26d6666d SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests (#2595)
* SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests

Change-Id: I13961461398439534dd5dfd91d9dcd5fbb8ca124

[ROCm/hip commit: 13a228ff29]
2022-11-30 15:27:07 +05:30
ROCm CI Service Account 838e2838f2 SWDEV-366314 - Move hip_bfloat16 implementation to hipamd (#3102)
hip_bfloat16 header in hip repo just includes the amd_hip_bfloat16 from hipamd

Change-Id: Ie96f908009cf96f37d868f2cd9a97d5f3e8b0ade

[ROCm/hip commit: da6d35142b]
2022-11-30 13:21:04 +05:30
ROCm CI Service Account 9e4020871e SWDEV-363038 - Add Unit_hipGraphKernelNodeGetSetParams_Functional (#3062)
Add unit test: Unit_hipGraphKernelNodeGetSetParams_Functional

Add kernel node to graph with certain kernel params, now get kernel node parameters with hipGraphKernelNodeGetParams, then update the kernel node params with hipGraphKernelNodeSetParams, finally check taking effect after launching graph.

Change-Id: I2216f72f4dade6dd37663d3b0d821cb3d35d7856

[ROCm/hip commit: 58790104f2]
2022-11-29 07:08:27 +05:30
ROCm CI Service Account 1d0152c38c SWDEV-345571 - Fix template parameter redefines default argument (#3101)
Change-Id: I1f22f0dd17831d31d9119e878f698312f29ce036


[ROCm/hip commit: c0e05cf582]
2022-11-28 16:45:34 -08:00
ROCm CI Service Account 0965bd6ea2 SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

[ROCm/hip commit: 0e06303fe2]
2022-11-28 20:17:09 +05:30
ROCm CI Service Account 720de09efd SWDEV-346657 - add more hipStreamAcb test (#3064)
* SWDEV-346657 - add more hipStreamAcb test

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84

[ROCm/hip commit: 955f1e4979]
2022-11-28 20:16:16 +05:30
ROCm CI Service Account e7b29faa2c SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API (#3061)
* SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API

Change-Id: I7fd25bcc23f0629d92296ab7b20258a6e268a58b

[ROCm/hip commit: d76a487187]
2022-11-28 20:15:49 +05:30
ROCm CI Service Account e86ee86479 SWDEV-306410 - Add Unit_hipEventMGpuMThreads* (#3095)
Change-Id: Ieaaed1d15b4d258103d8341d4b17d9f83a9e4785

[ROCm/hip commit: 8202097629]
2022-11-28 14:04:36 +05:30
ROCm CI Service Account cb69c9393b SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa

[ROCm/hip commit: 8c79142035]
2022-11-28 14:04:25 +05:30
ROCm CI Service Account 97dc389893 SWDEV-367463 - Add unit test for hipMallocManaged call w/ large size (#3089)
Change-Id: I9e9f6687ec837f3aaa1567d8b00f15925b7dd2c2

[ROCm/hip commit: 5e50c01e44]
2022-11-28 14:04:01 +05:30
ROCm CI Service Account 43c7642113 SWDEV-348684 - Fixed catch-2 test failure (#3073)
Change-Id: Ib21c26a3c8e51f0b7f132ecd4ad209dfef1d0689

[ROCm/hip commit: d8efb5fd4d]
2022-11-28 14:03:51 +05:30
ROCm CI Service Account fc2e5db0d3 SWDEV-327563 - deviceLib build fix for nvidia (#3072)
Change-Id: Ic66242caa21f9ba6f41255d84a3fd3e54b481b46

[ROCm/hip commit: 5698fed162]
2022-11-28 14:03:31 +05:30
Maneesh Gupta 4ccda0ea4a Disable Unit_hipMemset_Negative_OutOfBoundsPtr
[ROCm/hip commit: d3e7e5a23b]
2022-11-23 15:06:16 +05:30
Maneesh Gupta 292bdcb7e2 Disable wall clock test temporarily
[ROCm/hip commit: 385a114025]
2022-11-23 14:13:59 +05:30
Maneesh Gupta cc80b0631b Better handle failures in CI infra (#3098)
* Update Jenkinsfile
* Update tests/catch/unit/CMakeLists.txt

[ROCm/hip commit: 81c12ab01d]
2022-11-23 12:34:02 +05:30
agunashe b6e406fd60 SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags (#3091)
* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags

* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_MultipleRun

[ROCm/hip commit: d0c63f8d53]
2022-11-21 22:11:08 -08:00
ROCm CI Service Account 7047e3cb1b SWDEV-348282 - fixed intermittent failure fo hipCGMultiGrid* and hipCGThread* tests, porting over to catch2 in the process (#3067)
Change-Id: Id22dfb4ab2ee8171242fbf6a10886ff3e4abc926


[ROCm/hip commit: 01da3903c5]
2022-11-18 12:14:12 -08:00
ROCm CI Service Account 02a1e1141d SWDEV-346579 - atomics test cases for non MI2xx/MI3xx (#3060)
Replace the internal __builtin__ functions with external APIs

Change-Id: Ia3cf37af004b5b9a4833b18a8771a8864772beb4


[ROCm/hip commit: 0acac9c7db]
2022-11-16 14:01:05 -08:00
nives-vukovic 7a9617e9f6 EXSWHTEC-64 - Implement tests for hipInit and hipDriverGetVersion (#2971)
- Add simple positive and negative test for hipInit api
- Add simple positive and negative test for hipDriverGetVersion api
- Disable hipInit negative test on AMD

[ROCm/hip commit: 1f06f33d7d]
2022-11-14 15:05:14 +05:30
agunashe e6ee2e4913 SWDEV-327563 - skip graph and spt failing tests (#3068)
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.

Since the StreamPerThread is still not fixed

* SWDEV-327563 - skip graph and spt failing tests

[ROCm/hip commit: ae8f2d3557]
2022-11-13 22:57:11 -08:00
Mirza Halilčević 6b6d67dd61 EXSWHTEC-10 - Implement additional tests for hipIpcOpenMemHandle (#2880)
- Verify that opening the same handle in different contexts on same device causes an error
- Verify that opening the handle in the process that created it causes an error
- Remove linux guard from test file and exclude test from windows build with cmake.
- Disable Unit_hipIpcOpenMemHandle_Negative_Open_In_Creating_Process for AMD.

[ROCm/hip commit: 809149ecc8]
2022-11-07 16:50:44 +05:30
ROCm CI Service Account cd6b6ca2c3 SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip commit: 4fbc08e6c4]
2022-11-07 15:36:09 +05:30
Mirza Halilčević 822cccfb95 EXSWHTEC-27 - Implement tests for hipDeviceSetSharedMemConfig and hipDeviceGetSharedMemConfig (#2920)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.

[ROCm/hip commit: cd4a634935]
2022-11-07 14:01:36 +05:30
Mirza Halilčević d1775f330c EXSWHTEC-12 - Implement additional tests for hipIpcGetMemHandle (#2879)
- Verify that unique handles are returned for consecutive calls
- Verify that unique handles are returned for separate allocations at same address
- Verify that freed memory causes an error
- Verify that out of bounds pointer will cause an error.
- Remove linux guard from test file and exclude test from windows build with cmake.
- Fix expected error in hipIpcGetMemHandle negative tests.

[ROCm/hip commit: c504292c54]
2022-11-07 14:01:10 +05:30
ROCm CI Service Account 988d616c1e SWDEV-354905 - prioritize -DROCM_PATH over env{ROCM_PATH} in hip tests (#3055)
Change-Id: I943bc705641ceccda95b409d13b4e757c4e5ab23


[ROCm/hip commit: a9e9d9f996]
2022-11-04 17:14:41 -07:00
ROCm CI Service Account 473ad7a867 SWDEV-362930 - Fixes packging issue Windows using makefile (#3054)
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test

Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c


[ROCm/hip commit: a47e8ac84f]
2022-11-04 15:48:13 -07:00
nives-vukovic 6500f83b4f EXSWHTEC-65 - Implement additional Initialization and Version tests (#2972)
- Separate hipRuntimeGetVersion and hipDeviceGetUuid tests into positive and negative tests
 - Split Unit_hipDeviceGetUuid into Unit_hipDeviceGetUuid_Positive and Unit_hipDeviceGetUuid_Negative
 - Split Unit_hipRuntimeGetVersion_NegAndValTst into Unit_hipRuntimeGetVersion_Positive and Unit_hipRuntimeGetVersion_Negative
- Modify tests to use hipDevice_t instead of integer for devices in hipDeviceGetUuid negative test
- Implement additional Initialization and Version tests
 - Expand hipDeviceComputeCapability negative test with case when device is invalid
 - Expand hipDeviceGetP2PAttribute negative test with case when src and dst devices are the same
 - Expand hipDeviceGetP2PAttribute negative test with case when device is out of bound
 - Modify hipDeviceTotalMem negative test with case when device is invalid
 - Implement Unit_hipDeviceGetPCIBusId_PartialFill test which validates partial filling the bus id into a char array
- Fix minor formatting issues and change hipDeviceGetPCIBusId partial fill test into negative
- Modify negative tests to use integer device values
- Disable hipDeviceGetPCIBusId negative test on AMD

[ROCm/hip commit: 10382f7f58]
2022-11-04 19:29:26 +05:30
Mirza Halilčević ddd1ea09cc EXSWHTEC-9 - Implement additional tests for hipIpcCloseMemHandle (#2881)
- Verify that memory stays mapped when reference count is non zero
- Verify that memory stays mapped if handle is closed in a second process
- Verify that attempting to close handle in the process that created it causes an error
- Correct header includes.
- Add additional pointer check to reference counting test.
- Disable Unit_hipIpcCloseMemHandle_Negative_Close_In_Originating_Process test for AMD.

[ROCm/hip commit: dc5d658843]
2022-11-04 19:26:53 +05:30
Mirza Halilčević d872d637ae EXSWHTEC-8 - Implement additional test for hipGetDeviceFlags (#2877)
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD

[ROCm/hip commit: 7a3fecab50]
2022-11-04 19:24:58 +05:30