Commit Graph

22 Commits

Author SHA1 Message Date
Alex Xie 5f775b8b7f 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
2024-08-07 11:29:41 -04:00
Julia Jiang f44ca70bb7 Revert "SWDEV-444098 - remove rocm-ocl-icd packaging"
This reverts commit 5f68a4531a.

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

Change-Id: I9cca7564a21de1733665a34da6f0322aa3b886e7
2024-03-22 16:59:23 -04:00
Julia Jiang 5f68a4531a 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
2024-03-15 10:46:07 -05:00
German c0e9734c35 SWDEV-403871 - Add MS platform recognition
Change-Id: Ie01e876f9322e35f4430352d1e4328f613133ee5
2023-06-06 11:57:07 -04:00
jatang b6bbcd8457 SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst
Change-Id: Ic2d88b4b41a2bd8d08ffa0fcb72226e993c23a6d
2023-03-01 17:33:53 -05:00
jatang cbbf0d1edd 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
2022-10-19 18:17:17 -04:00
jatang cf9f9e84b8 SWDEV-362891 - Incorperate TestLog into ocltst.
So it's no longer needed to setup path to find TestLog

Change-Id: I0c7ae21e426f2d6d832f707b9d37661bbed67100
2022-10-18 18:01:53 -04:00
Jason Tang 145afd6a78 SWDEV-350058 - Create ocltst package
Change-Id: Ifd1f538254c174da5bca2535ade5ac25c49bf673
2022-08-19 18:18:15 -04:00
taosang2 76c6dcd558 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
2021-12-03 10:03:00 -05:00
Jason Tang 36298f36d3 Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging 2021-11-23 16:36:34 -05:00
Jason Tang aba8b08701 SWDEV-1 - Fix getopt for options that don't have colon
Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0
2021-11-22 15:51:28 -05:00
Jason Tang 63bd627252 SWDEV-1 - Enable ocltst Jenkins service messages
Change-Id: I201e3feea4598c4bfcfa77585dd01a6b60e452a3
2021-11-19 16:05:26 -05:00
Jason Tang b1e9a4227c SWDEV-301289 - Enable building and installing ocltst on Windows
Change-Id: I512dbcb96dd6a7c52a5ebad819043fdd0138215d
2021-10-25 14:10:15 -04:00
Vladislav Sytchenko c4aa6febe5 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
2021-09-26 12:13:37 -04:00
Jason Tang 159f7f24cd Merge "SWDEV-301289 - Add missing sources files needed for ocltst on Windows" into amd-staging 2021-09-25 17:09:12 -04:00
Vladislav Sytchenko 3d82092632 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
2021-09-25 17:02:35 -04:00
jujiang 422a26142d SWDEV-286322 - clean up trailing white space
Change-Id: Ie47bc977e1598356b455957d96f9afa37794c1fd
2021-09-01 14:53:14 -04:00
Vladislav Sytchenko 35ee5f675c SWDEV-301289 - Add missing sources files needed for ocltst on Windows
Change-Id: Icf96028f7891781e4ce1a7d425ff8d41e2602ffd
2021-08-30 22:33:28 -04:00
agunashe 5a0ecc8e48 SWDEV-293742 - Update copyrights end year for opencl repo
Change-Id: I0ce8369a7ef569ac82c6e20266d0c98331a43e08
2021-07-08 21:55:55 -07:00
Vlad Sytchenko 8790099ba9 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
2020-06-03 13:55:28 -04:00
Vlad Sytchenko 15b318b444 Add ocltst build files
Change-Id: I8fcff320efb677a5efa5ee48efe1a6bbb259539f
2020-06-01 14:12:51 -04:00
Vlad Sytchenko 75e6add24d 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
2020-06-01 13:51:51 -04:00