Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Alex Xie 4969004422 SWDEV-411369 - printf parameter is wrong
Change-Id: I3c6752bd0266919215de6282d289afd04c77d8ef
2023-08-10 11:31:58 -04:00
Alex Xie 42f8b9183d SWDEV-390565 - ocltst test failing
part 2 of the fix

Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837
2023-05-01 12:31:37 -04:00
Alex Xie a0c1f496a4 SWDEV-390565 - ocltst test failing
Change-Id: I76a12878a1d3c029b771335eb23b129cac125517
2023-05-01 09:37:36 -04:00
Ruili Ji d33c1a06cf SWDEV-391103 - fix ocltst segment fault and update device info for gfx1103
Change-Id: I7a45ef98fd03113b148178fed3b64b919ee4eb6d
2023-04-20 07:26:22 +08:00
Julia Jiang f3a46d9d7a SWDEV-388516 - Fix OCLPerf tests intermittent crashing
Change-Id: Iea69526a0ade08c33f68515bf6682b62291fdc7a
2023-04-05 16:40:47 +00:00
jatang 94b1872628 SWDEV-386095 - Remove GL dependency from oclperf
Change-Id: Ie65e2b51af399e0816bb1f5283c8f2e7a330c730
2023-03-08 15:55:54 -05:00
Jason Tang eb87d711ab Merge "SWDEV-385312 - Move install path of rocm-ocltst to /opt/rocm/share/ocltst" into amd-staging 2023-03-02 10:15:30 -05: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
Julia Jiang effb58e076 SWDEV-383839 - fix oclperf test failures on MI300
Change-Id: I789dad08f875d16eeb4d60dc60379d4ee4158904
2023-02-23 18:29:36 -05:00
jatang 589988ee47 SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests
Change-Id: I0b9fe78f3fb6d93a4e7d0fe66ea279291716f30e
2023-02-16 15:07:23 -05:00
Jason Tang 145afd6a78 SWDEV-350058 - Create ocltst package
Change-Id: Ifd1f538254c174da5bca2535ade5ac25c49bf673
2022-08-19 18:18:15 -04:00
Cordell Bloor 1f5f4271ae SWDEV-337169 - Fix CRLF in oclperf.exclude
Renormalized line endings in tests/ocltst/module/perf/oclperf.exclude
to fix the Debian packaging problems reported in
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/140

Change-Id: I4fdc7c52e60078ec6048678679acdc5d5e5b715b
Signed-off-by: Cordell Bloor <Cordell.Bloor@amd.com>
2022-05-15 19:06:22 -06: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 6c9b07370c 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
2021-09-25 17:03:17 -04:00
agunashe 5a0ecc8e48 SWDEV-293742 - Update copyrights end year for opencl repo
Change-Id: I0ce8369a7ef569ac82c6e20266d0c98331a43e08
2021-07-08 21:55:55 -07:00
Julia Jiang 82156484b4 SWDEV-291787 - Update files with proper EOL
Change-Id: I3be96a3bb7d1d944f3a14b595df8ec533af6f953
2021-07-07 18:03:52 -04:00
Vladislav Sytchenko 6046e6fea4 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
2021-06-07 14:25:28 -04:00
Vlad Sytchenko 3be244fb34 Add ability to run each ocltst test individually
Now one can run a single test by invoking `make test.ocltst.${module_name}.${test_name}`. Invoking `make test.ocltst.${module_name}` will still run all of the modules tests.

Change-Id: I31b384576cb09800e580e41c12528a276899b6c2
Signed-off-by: Vlad Sytchenko <Vladislav.Sytchenko@amd.com>
2020-07-06 15:56:46 -04: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 876cf62e0e Only build oclgl tests if OpenGL is installed on the system
Change-Id: I226f2e09c98a970ce8dce0b6f670ca13d868aeb6
2020-06-02 13:31:29 -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