Commit Graph

468 Commits

Author SHA1 Message Date
jatang fe3c49c51a SWDEV-384646 - Clean up clinfo includes
Change-Id: I7cc8a877fd7a61fea58331b5ca1792022df3194d


[ROCm/clr commit: a7f8964a20]
2023-03-02 16:03:52 -05:00
Jason Tang fae41731dd Merge "SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst" into amd-staging
[ROCm/clr commit: eb87d711ab]
2023-03-02 10:15:30 -05: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
Julia Jiang c8b989d288 SWDEV-383839 - fix oclperf test failures on MI300
Change-Id: I789dad08f875d16eeb4d60dc60379d4ee4158904


[ROCm/clr commit: effb58e076]
2023-02-23 18:29:36 -05:00
Jason Tang 562a086ff1 Merge "SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests" into amd-staging
[ROCm/clr commit: cf2d46e97e]
2023-02-21 10:00:07 -05:00
Ranjith Ramakrishnan ee63dd0dc5 SWDEV-383843 - Use relative path for RUNPATH
Build script was passing relative path for setting the RUNPATH. But clinfo is overriding it and using absolute paths
Removed the same from source code

Change-Id: I505e7fdc84c53d147f3afbc6c4133f906de2110f


[ROCm/clr commit: 067beca608]
2023-02-17 11:31:48 -05:00
Maneesh Gupta 4b8bf631d0 SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
This reverts commit de1e612775.

Reason for revert: Need to wait for apps to make fixes first

Change-Id: I337a0b56d268093fc8689152002a6f8a8ceb258f


[ROCm/clr commit: c7576e2add]
2023-02-17 03:46:29 -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
Ranjith Ramakrishnan de1e612775 SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: Ic346b403bcc5df52fdab54ddf95472f649a00cc0


[ROCm/clr commit: c86bd74c67]
2023-02-10 13:09:46 -05:00
Jeremy Newton 713ac5ab4e SWDEV-1 - cltrace: Add missing include
Newer GCC's seem to require this.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I56ef934600729e892f1cd7ab11662760df48aed8


[ROCm/clr commit: 158e79358c]
2023-02-08 14:26:47 -05:00
victzhan 33d3101cf6 SWDEV-345751 - Added parameter check for clEnqueueWriteImage
Change-Id: I9606ea1c3698d009f23b7da673c02fa05b009dbc


[ROCm/clr commit: 96cd9f7b76]
2023-01-26 16:49:56 -05:00
Victor Zhang 3a2d258194 Merge "SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification" into amd-staging
[ROCm/clr commit: a1beaf54a6]
2023-01-26 16:25:11 -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
Victor Zhang c200479039 SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification
Change-Id: I4ee000008c52a0bbdb47e94a8e1b5faf28c3bfe6


[ROCm/clr commit: 1fe9918576]
2023-01-17 00:52:04 -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 8f2b881c3b SWDEV-354868 - return CL_INVALID_VALUE if number of RT CUs is less than its granularity when creating command queue
Change-Id: I31004e82589c3378dba5541095a1eff763d4579d


[ROCm/clr commit: 6d4e067302]
2022-12-13 04:59:33 -08: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 cdd7d68481 Merge "SWDEV-354868 - skip subtest when number of RT CUs is less than granularity" into amd-staging
[ROCm/clr commit: 05f99a45f8]
2022-12-09 16:41:03 -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
Ioannis Assiouras 48173fdcb5 SWDEV-369581 - Convey copy API metadata to ROCclr
Change-Id: I318636602cbb546a12bb339264153b9be4008b40


[ROCm/clr commit: 829843cdfe]
2022-12-09 00:27:55 -05: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
AlexBin Xie 1983391a45 Merge "SWDEV-369978 - Add ASIC id to test SWDEV-370434 - Add ASIC id to test" into amd-staging
[ROCm/clr commit: 0f7afda8ef]
2022-12-02 13:11:24 -05: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
Ranjith Ramakrishnan 7a0d151d45 SWDEV-310152 - ldconfig should be run from each components providing shared library, since rpath will be removed from binaries and libraries
Revert "SWDEV-310152 - Remove ldconfig from rocm-ocl-icd package"

This reverts commit 891f23718c.

Change-Id: Id07f4c8b2915c4ed7937094087ddba8402444da9


[ROCm/clr commit: cb625e8fb2]
2022-11-23 13:03:40 -05:00
Ranjith Ramakrishnan 891f23718c SWDEV-310152 - Remove ldconfig from rocm-ocl-icd package
ldconfig functionality moved from rocm-ocl-icd to rocm-core package

Depends-On: I1148fb36240c2e63994743ccf135e51e90695c37
Depends-On: I7ba908865187d578c273b20bf31a08a3458fbbfb
Change-Id: I4769c31df12fa3f1bb8baa283e0647ce9254e594


[ROCm/clr commit: 0f5c2f0ba8]
2022-11-21 03:48:17 -05:00
German Andryeyev fde603e002 Merge "SWDEV-368308 - Remove HW debug extension" into amd-staging
[ROCm/clr commit: 5e7094d504]
2022-11-18 18:36:58 -05:00
German 95bcc9655f SWDEV-368308 - Remove HW debug extension
Remove the header file, used in rocclr.

Change-Id: I1dfdbb05fdcbaf32708252071e8955d2ca94126d


[ROCm/clr commit: 92f0607f87]
2022-11-18 14:04:17 -05:00
Ranjith Ramakrishnan 912058b64c SWDEV-366823 - Change pragma message to warning
File reorganization feature was implemented with backward compatibility
The backward compatibility support will be deprecated in future release.
Changed the #pragma message to #warning for a smooth transition

Change-Id: If917a0bef9bbc347f08ca02435d70d517f175afc


[ROCm/clr commit: 0bafb4683a]
2022-11-17 20:19:55 -05:00
German ba2941e57d SWDEV-368308 - Remove HW debug extension
The extension was devloped for AMDIL path only.
OCL runtime doesn't support AMDIL path  anymore.
The new debugger interfaces don't require any runtime calls either.

Change-Id: I6215545f9b6ae5c70b5f076c3cbfbfd3b5eef42b


[ROCm/clr commit: 0db20050bc]
2022-11-16 17:37:06 -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
Jason Tang e07fd20922 Merge "SWDEV-362891 - Add the ocltst install path to RUNPATH." into amd-staging
[ROCm/clr commit: a19e8ab0bb]
2022-10-21 18:22:20 -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
jatang cecfda83f5 SWDEV-362891 - Add the ocltst install path to RUNPATH.
So ocltst can automatically find liboclruntime.so from the same directory as ocltst.

Change-Id: Id2f4f58b1c7f0304be76a3aeecd5eea2eec328de


[ROCm/clr commit: cbbf0d1edd]
2022-10-19 18:17:17 -04:00
Ashutosh Mishra c8eadd18af SWDEV-362882 - Unable to run clinfo/opencl tests
The explicit RUNPATH addtion has been
revoked after the file reorg. Hence
the rpath for discovery of the libs
has to be taken care by individual binaries
Current patch adds the run path for
descovery of the libOpenCL.so

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: Ia3bf9202bea78ecfdb881e40b0eb7a0d4a303ed3


[ROCm/clr commit: 1754b043a3]
2022-10-19 15:03:07 -04:00
jatang db848fbcd2 SWDEV-362891 - Incorperate TestLog into ocltst.
So it's no longer needed to setup path to find TestLog

Change-Id: I0c7ae21e426f2d6d832f707b9d37661bbed67100


[ROCm/clr commit: cf9f9e84b8]
2022-10-18 18:01:53 -04:00
Ranjith Ramakrishnan b2e30b6ffa SWDEV-340761 - Limit the removal of opencl conf file to package removal and provide unique name to icd file
While upgrading packaging in SLES/RHEL, the package to be upgraded is installed first, followed by cleanup of the older one
During upgrade 10-rocm-opencl.conf and icd file is getting removed as part of clean up, since the file name and path is same in different package versions.
Limit the removal of opencl conf file to  uninstall/removal of package and not during upgrade.
Used unique name for icd file

Change-Id: Ib34a78ce53e6b7d95adb70ccfd56474a297b64ca


[ROCm/clr commit: 3d350393d8]
2022-09-16 00:48:37 -07:00
Victor Zhang ae3d266843 Merge "SWDEV-343905 - Updated headers to match the khronos repository" into amd-staging
[ROCm/clr commit: fe8acef64e]
2022-09-12 14:32:42 -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
victzhan 0fa83b9474 SWDEV-343905 - Updated headers to match the khronos repository
Change-Id: Ic3aaa7194a45243cd3c7e0ed226e86ba4f0fbf2b


[ROCm/clr commit: 252cda36fe]
2022-08-15 22:08:09 -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
Victor Zhang eae880f88f Merge "SWDEV-339709 - Fixed OCLDeviceQueries failing on MI200" into amd-staging
[ROCm/clr commit: 6e2ebb7051]
2022-08-10 10:05:51 -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