Commit Graph

63 Commits

Author SHA1 Message Date
Alex Xie a381538161 SWDEV-444098 remove "rocm-ocl-icd" package
This is the first step to remove rocm-ocl-icd.
We don't build amd icd after this commit.
We still need to remove header files usage in future steps.

Change-Id: Ic4ac5476180f9ef2ce87b62891c08b28d6c9bfd2


[ROCm/clr commit: 5f775b8b7f]
2024-08-07 11:29:41 -04:00
Julia Jiang 3c7ae28776 SWDEV-472710 - Adding gitattributes and remove trailing spaces
Change-Id: Ic8ad2071745f0ffe6a2e120bfebb6d90bf270f87


[ROCm/clr commit: dd30e0e893]
2024-07-15 12:39:56 -04:00
Ioannis Assiouras 75104df3b2 SWDEV-464648 - code and comment cleanups
Change-Id: I5ba3f1bff500b3cd5903c2f441017735e688f83f


[ROCm/clr commit: 8f42ad6aa3]
2024-06-07 22:38:09 +01:00
Ajay 31748d52c7 SWDEV-460151 - enable gfx12 code in runtime
Change-Id: I2d6fbf350c7cc2e1e4a698f0bad4ce8d512c4368


[ROCm/clr commit: d754ab4e30]
2024-05-28 06:30:26 +00:00
Julia Jiang 08e18077cc Revert "SWDEV-444098 - remove rocm-ocl-icd packaging"
This reverts commit 6c46d696ae.

Reason for revert: due to windows staging branch using Opencl-icd-loader master

Change-Id: I9cca7564a21de1733665a34da6f0322aa3b886e7


[ROCm/clr commit: f44ca70bb7]
2024-03-22 16:59:23 -04:00
Julia Jiang 6c46d696ae SWDEV-444098 - remove rocm-ocl-icd packaging
Change-Id: If0234ff03cf86e1f0435e743c1df75a3e179d48c

Jenifer helped trigger a combined PSDB for the below three changes
https://gerrit-git.amd.com/c/compute/ec/prototype/+/1020194
https://gerrit-git.amd.com/c/compute/ec/clr/+/1003601
https://gerrit-git.amd.com/c/compute/ec/OpenCL-ICD-Loader/+/1012373

Combined PSDB was successful:
http://rocm-ci.amd.com/job/compute-psdb-staging/27382/
Change-Id: If0234ff03cf86e1f0435e743c1df75a3e179d48c


[ROCm/clr commit: 5f68a4531a]
2024-03-15 10:46:07 -05:00
cadolphe bd399106ae SWDEV-368741 - Check for uninstalled hsa-amd-aqlprofile to avoid Segmentation Fault
Change-Id: I0c0c7a2ea7c35237332ddd7c2461e4d9ff8e2f1c


[ROCm/clr commit: 243b86dd23]
2024-02-05 05:08:11 +00:00
Alex Xie cea00f53fb SWDEV-423536 - [ROCM QA] Observed 1 test failed
Change-Id: Icb41f1031ec40e0df5df7a6d21ffd6602b665a09


[ROCm/clr commit: ae8d3a6a4e]
2023-11-20 11:57:29 -05:00
Julia Jiang d418e686ce SWDEV-415212 - Fix OCLruntime DeviceQuery test failure
Change-Id: I2e47c76d2145716fe6eeea81d68adbfa7f8b9be8


[ROCm/clr commit: ad18362822]
2023-08-08 14:00:38 -04:00
jatang 34f68be605 SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster
Change-Id: If20cd6b509896a748f74ab5296cb85f2c4a9f04c


[ROCm/clr commit: a456182888]
2023-06-06 17:15:34 -04:00
German Andryeyev 53d0d75d8c SWDEV-391858 - Reduce the size of step transfer
Change-Id: I78e9ed3c6550c497d6abdcf2b9e1a6d5bcdf7315


[ROCm/clr commit: 930d1f04c2]
2023-04-21 13:50:15 -04:00
Ruili Ji 74405e021d SWDEV-391103 - fix ocltst segment fault and update device info for gfx1103
Change-Id: I7a45ef98fd03113b148178fed3b64b919ee4eb6d


[ROCm/clr commit: d33c1a06cf]
2023-04-20 07:26:22 +08:00
Julia Jiang 98e33ef5b6 SWDEV-392363 - fix DeviceQueries failure on MI300 APU system
Change-Id: I5542f3a4575fe252fff8e329fd28e5624b44486a


[ROCm/clr commit: 9ca45d289b]
2023-04-19 12:09:20 -04:00
Rahul Garg d0f51600f7 SWDEV-391858 - Revert "SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster"
This reverts commit 50208c1a00.
Reason for revert: To fix ocltst issues.

Change-Id: Iac828e36e5288805be91f1b1efc7b95dda51b877


[ROCm/clr commit: eb5df70929]
2023-04-13 21:29:19 +00:00
jatang 50208c1a00 SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster
Change-Id: Ia6e614d76ea0532e7e6424bd33a5e81fbd49db9e


[ROCm/clr commit: 6bf7514adb]
2023-04-05 16:40:59 +00:00
jatang 0d7cb97435 SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst
Change-Id: Ic2d88b4b41a2bd8d08ffa0fcb72226e993c23a6d


[ROCm/clr commit: b6bbcd8457]
2023-03-01 17:33:53 -05:00
jatang 6723b780ca SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests
Change-Id: I0b9fe78f3fb6d93a4e7d0fe66ea279291716f30e


[ROCm/clr commit: 589988ee47]
2023-02-16 15:07:23 -05:00
jatang 50e98ee028 SWDEV-373395 - Check CL_DEVICE_IMAGE_SUPPORT for ocltst image related tests
Change-Id: Iffa2be3d2ddeeb9baad108530dcaf69c4cbd984b


[ROCm/clr commit: 49c76fa04f]
2023-01-25 17:43:06 -05:00
Jason Tang 610836d5f8 Merge "SWDEV-1 - Enable testing of OCLDynamic" into amd-staging
[ROCm/clr commit: 73f913be51]
2023-01-24 13:49:01 -05:00
jatang fb394b51ba SWDEV-1 - Enable testing of OCLDynamic
Change-Id: Iffdacd7804c40ccd2375a13bab582aae5c3d00e3


[ROCm/clr commit: 0865d29ee1]
2023-01-24 13:47:32 -05:00
German a1371d6309 SWDEV-377991 - Remove liquidflash support
Change-Id: I928ed40f11461d5da07190e67bbec6a5363c42a6


[ROCm/clr commit: b9901144eb]
2023-01-19 11:15:46 -05:00
German Andryeyev 271434f6a3 SWDEV-365305 - Update RT queue test
Use 2 RT queues in the test instead of generic with medium priority.

Change-Id: Ia7100a9a79a09e9ef9615d17e0ff41c2b799a9e6


[ROCm/clr commit: a4c174e269]
2023-01-05 11:40:49 -05:00
jatang 298382dce2 SWDEV-372791 - Correct CL1.2 PartialWrkgrp test
Change-Id: I1d5505af24b7e367a2bee68060e49f1503ff9d94


[ROCm/clr commit: d5af082b87]
2022-12-22 16:28:41 -05:00
Todd tiantuo Li c07620985b Merge "SWDEV-372070 - Add Phoenix to OCLPerfCounters in ocltst" into amd-staging
[ROCm/clr commit: 9dcb6a3d4d]
2022-12-09 16:41:37 -05:00
Todd tiantuo Li aece761fa8 SWDEV-354868 - skip subtest when number of RT CUs is less than granularity
Change-Id: Ibe0b8a2d462e9a0178a12c224b0192454618cb7c


[ROCm/clr commit: a284f9328f]
2022-12-08 23:38:42 -08:00
Todd tiantuo Li 2285c7b66c SWDEV-372070 - Add Phoenix to OCLPerfCounters in ocltst
Change-Id: I08683856c1e99f3c0b96373aa1fc9720f4b97e65


[ROCm/clr commit: 3ffa3a828e]
2022-12-06 04:34:34 -08:00
Alex Xie be2b215206 SWDEV-369978 - Add ASIC id to test
SWDEV-370434 - Add ASIC id to test

Change-Id: I7ed199c677543e7ab42011a9c80befbafd9508f4


[ROCm/clr commit: 72830e31cf]
2022-12-01 17:46:31 -05:00
Jason Tang 105858827a Merge "SWDEV-362451 - Reenable OCLPinnedMemory" into amd-staging
[ROCm/clr commit: e2e223e24a]
2022-11-09 11:57:14 -05:00
Tao Sang 94946f5616 SWDEV-363140 - Support performance counter on gfx11
Support performance counter on gfx11 in Windows only
as Rocm doesn't support performance counter on gfx11 in Linux.

Change-Id: I2216f72f4d4db6dd3766343b0c821cb3d35d7852


[ROCm/clr commit: 6f43b210d7]
2022-11-01 18:12:02 -04:00
jatang dec87c74f0 SWDEV-293816 - Test a CPC counter that's supported by both gfx10 ROCr and PAL backend.
Change-Id: I5d20d07b999c26707611dba5b2c7da9782ad08f3


[ROCm/clr commit: 7cb2b815b3]
2022-10-25 18:14:07 -04:00
jatang fe5311622d SWDEV-362451 - Reenable OCLPinnedMemory
Change-Id: I75897846913190422bb8c95d1dce83077d5c77d6


[ROCm/clr commit: b7b458730a]
2022-10-25 12:32:13 -04:00
jatang 17948751c9 SWDEV-362451 - Disable OCLPinnedMemory for now.
Change-Id: I9a771cfc5751e06c5a494ad2e4036f9aa3efbe9a


[ROCm/clr commit: b7d64f9f5f]
2022-10-20 16:03:36 -04:00
Jason Tang 92eb8654a4 SWDEV-350058 - Create ocltst package
Change-Id: Ifd1f538254c174da5bca2535ade5ac25c49bf673


[ROCm/clr commit: 145afd6a78]
2022-08-19 18:18:15 -04:00
Konstantin Zhuravlyov 3dd34bdd26 SWDEV-350564 - Silence int-conversion warnings as errors
Change-Id: Ie7cf8bef0ce41df92369aa45c76493d5d0a6669b


[ROCm/clr commit: ec63aa2302]
2022-08-16 17:20:04 -04:00
Konstantin Zhuravlyov b4162f8685 Merge "SWDEV-350564 - Silence int-conversion warnings as errors" into amd-staging
[ROCm/clr commit: 6aa8066584]
2022-08-10 12:34:55 -04:00
Konstantin Zhuravlyov 3093eddcf8 SWDEV-350564 - Silence int-conversion warnings as errors
Change-Id: Ib49471b90ee8f10f24ca0b56ee9fc1d0d78c30c6


[ROCm/clr commit: 5407e18193]
2022-08-09 13:30:33 -04:00
Victor Zhang 16c0a097a4 SWDEV-339709 - Fixed OCLDeviceQueries failing on MI200
Change-Id: I27cd020b8813aab8a3a53dcc9545609fb04ad4ed


[ROCm/clr commit: f3438e814e]
2022-06-30 16:06:25 -04:00
Todd tiantuo Li c75c34f099 SWDEV-315047 - add Raphael(gfx1036) to OCLDeviceQueries
Change-Id: Iaa930c5ea9e39f9c44b1a5d737fc3520e9b6eca8


[ROCm/clr commit: 6c4ab575ca]
2022-05-10 02:37:42 -07:00
Alex Xie 9f1fcb23e9 SWDEV-333966 - [Lnx]image test fail
OCLCreateImage test passed when the image was not supported at all.
Add a warning.
For ASIC without image support, let the test pass.

Change-Id: I13c015561a51879f052c2c2d56c672ffbdbe0641


[ROCm/clr commit: 0d29a523d3]
2022-05-03 12:47:26 -04:00
Jason Tang 2acbfbc801 SWDEV-1 - Disable OCLAtomicCounter for now
OCLAtomicCounter should only be run when the compiler is HSAIL.

Change-Id: I862e23b22157d2c25bc5697fa58079c78040f5f5


[ROCm/clr commit: a3fe0fafe2]
2022-04-20 16:38:48 -04:00
taosang2 6b3e3bf6c6 SWDEV-1 - Add EMU_ENV option
Fix FEAT-39125
Add EMU_ENV option. If it is ON, the building is for
emulation environment, thus some logics can be adjusted
to match emulation environment. If it is OFF, the
building is for regular environment.
Currently only ocltst will use the option. But it can
be used for other modules.

Change-Id: I54e1bc1309e82794b41fca2ae1f01f004138dced


[ROCm/clr commit: 76c6dcd558]
2021-12-03 10:03:00 -05:00
Jason Tang 267c4fbc62 SWDEV-301289 - Enable building and installing ocltst on Windows
Change-Id: I512dbcb96dd6a7c52a5ebad819043fdd0138215d


[ROCm/clr commit: b1e9a4227c]
2021-10-25 14:10:15 -04:00
Vladislav Sytchenko 60cf342ae0 SWDEV-301289 - Treewide macro rename
ATI_OS_WIN -> _WIN32
ATI_OS_LINUX -> __linux__

We should not rely on non-standard macros for platform detections.

Change-Id: If1d06e2e1187268df62a59609ea5496ab7eb709d


[ROCm/clr commit: c4aa6febe5]
2021-09-26 12:13:37 -04:00
Vladislav Sytchenko d42631046e SWDEV-301289 - Point to local AMD OpenCL via OCL_ICD_FILENAMES
The OCL_ICD_FILENAMES env var contains a list of OpenCL platforms that
the ICD should prepend to the list of reported platforms. Since the
built amdocl library will show up as the first platform, we can tell
ocltst to always run with platform 0. This way we guarantee that the
correct binary is being loaded.

Using this env var also makes programming LD_LIBRARY_PATH redundant
for Linux.

Change-Id: I8c1729e8b4dd1cd2df1a3da08c7b7addebd08b4f


[ROCm/clr commit: 6c9b07370c]
2021-09-25 17:03:17 -04:00
jujiang 40cc9aee95 SWDEV-286322 - clean up trailing white space
Change-Id: Ie47bc977e1598356b455957d96f9afa37794c1fd


[ROCm/clr commit: 422a26142d]
2021-09-01 14:53:14 -04:00
agunashe 65362abf36 SWDEV-293742 - Update copyrights end year for opencl repo
Change-Id: I0ce8369a7ef569ac82c6e20266d0c98331a43e08


[ROCm/clr commit: 5a0ecc8e48]
2021-07-08 21:55:55 -07:00
Julia Jiang 318fd353de SWDEV-291787 - Update files with proper EOL
Change-Id: I3be96a3bb7d1d944f3a14b595df8ec533af6f953


[ROCm/clr commit: 82156484b4]
2021-07-07 18:03:52 -04:00
Vladislav Sytchenko 43f722590c SWDEV-273235 - ocltst build fixes
Correctly reference the new amdocl target.

Do not use hardcoded paths to libamdocl64.so, instead query the path to
it from cmake.

Change-Id: I4738dd8d6d08f9fb72fdd725b6488b81342755a4


[ROCm/clr commit: 6046e6fea4]
2021-06-07 14:25:28 -04:00
Vladislav Sytchenko 4acce696ad SWDEV-240001 - Revert "Disable oclruntime OCLPerfCounters test"
This reverts commit 1f915dddd2.

Change-Id: Ib2ea933c456d76e4e7b20e759d43dd74064267ba


[ROCm/clr commit: 294318c8c6]
2021-03-09 10:55:56 -05:00
Vladislav Sytchenko ecb8c6508c SWDEV-240001 - OCLPerfCounters target ID changes
We don't care about target ID features in this test, so we can simply
strip them away to maintain compatability with the internal test table.

Change-Id: I44591a052c02f9e01876a8946f99cfedee371233


[ROCm/clr commit: b620121390]
2021-03-09 10:55:39 -05:00