24 Коммитов

Автор SHA1 Сообщение Дата
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
Ioannis Assiouras bb2b3cdc89 SWDEV-493913 - Replaced calls to clGetExtensionFunctionAddress in ocltst
Replaced clGetExtensionFunctionAddress calls with
clGetExtensionFunctionAddressForPlatform to ensure
interoperability with distribution ICD loaders.

Change-Id: I560a62459f2ad222750e65e869b98d6b6ec56665


[ROCm/clr commit: 9f1cc590d8]
2024-11-12 15:56:17 +00:00
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 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
German 17c6b36204 SWDEV-403871 - Add MS platform recognition
Change-Id: Ie01e876f9322e35f4430352d1e4328f613133ee5


[ROCm/clr commit: c0e9734c35]
2023-06-06 11:57:07 -04: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 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
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
Jason Tang 92eb8654a4 SWDEV-350058 - Create ocltst package
Change-Id: Ifd1f538254c174da5bca2535ade5ac25c49bf673


[ROCm/clr commit: 145afd6a78]
2022-08-19 18:18:15 -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 4151dfab84 Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging
[ROCm/clr commit: 36298f36d3]
2021-11-23 16:36:34 -05:00
Jason Tang 244fb0defd SWDEV-1 - Fix getopt for options that don't have colon
Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0


[ROCm/clr commit: aba8b08701]
2021-11-22 15:51:28 -05:00
Jason Tang 7d6aaab5dd SWDEV-1 - Enable ocltst Jenkins service messages
Change-Id: I201e3feea4598c4bfcfa77585dd01a6b60e452a3


[ROCm/clr commit: 63bd627252]
2021-11-19 16:05:26 -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
Jason Tang 79be42d8b7 Merge "SWDEV-301289 - Add missing sources files needed for ocltst on Windows" into amd-staging
[ROCm/clr commit: 159f7f24cd]
2021-09-25 17:09:12 -04:00
Vladislav Sytchenko 7757615404 SWDEV-301289 - Correctly reset optind when using getopt()
optind's starting value is 1 and it needs to be reset to 1 after each
getopt() invocation. Resetting it to 0 will cause getopt() to
reinitialize its internal state. This is only needed for some corner
cases. In our current usage, we should be resetting it to 1.

Change-Id: I68da7e41ee8b83b275e2a7bd660c13af569769f1


[ROCm/clr commit: 3d82092632]
2021-09-25 17:02:35 -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
Vladislav Sytchenko 2c01580468 SWDEV-301289 - Add missing sources files needed for ocltst on Windows
Change-Id: Icf96028f7891781e4ce1a7d425ff8d41e2602ffd


[ROCm/clr commit: 35ee5f675c]
2021-08-30 22:33:28 -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
Vlad Sytchenko 30621ae614 Add cmake targets to run ocltst test modules
Tests are now excluded from the main build, however ocltst can still be built by running `cmake --build . --target ocltst`.

Test modules can be run by invoking the test_${module_name} target, for example `cmake --build . --target test_oclruntime`.

Change-Id: I6f40d3bd318e821e4fbf35ccfa395dc7036673cb


[ROCm/clr commit: 8790099ba9]
2020-06-03 13:55:28 -04:00
Vlad Sytchenko 627061d190 Add ocltst build files
Change-Id: I8fcff320efb677a5efa5ee48efe1a6bbb259539f


[ROCm/clr commit: 15b318b444]
2020-06-01 14:12:51 -04:00
Vlad Sytchenko 18ce996fe2 Initial source drop of ocltst
This only adds source files for ocltst and the following test modules - oclruntime, oclperf, oclgl, ocldx. There's no build files for now.

Change-Id: I0f8d9d074c45d82e92f7d30bf22753102f272f4f


[ROCm/clr commit: 75e6add24d]
2020-06-01 13:51:51 -04:00