Commit Graph

92 Commits

Author SHA1 Message Date
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
Cordell Bloor 3805867b8b Merge "SWDEV-337169 - Fix CRLF in oclperf.exclude" into amd-staging
[ROCm/clr commit: 7fdb3d3c97]
2022-06-02 14:59:52 -04:00
Cordell Bloor eef8567684 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>


[ROCm/clr commit: 1f5f4271ae]
2022-05-15 19:06:22 -06: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
Payam Ghafari 6dc853cb26 Revert "SWDEV-197835 - adding Khronos OpenCL ICD build"
This reverts commit d09b6e30fc.

Reason for revert: need to update other projects (linuxpro & marnier)

Change-Id: Ib02194d052170e487cd56480eb0d9226895aa580


[ROCm/clr commit: 0762c948b6]
2021-05-18 10:31:25 -04:00
Payam d09b6e30fc SWDEV-197835 - adding Khronos OpenCL ICD build
Change-Id: Id7d9cd6076c6f1670eedbea06a6976c05e391520


[ROCm/clr commit: 932c83fe8f]
2021-05-17 18:19:30 -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
Todd tiantuo Li dcad5a921e Merge "SWDEV-267762 - add RMB(gfx1035) to deviceQuery" into amd-staging
[ROCm/clr commit: 280b759175]
2021-01-25 19:40:02 -05:00
Vladislav Sytchenko 35655388b0 SWDEV-264411 - Disable OCLDynamicBLines test
Change-Id: I067afa99b988e0b32edee7d27c1403d31775655c


[ROCm/clr commit: 290a16716d]
2021-01-22 16:55:18 -05:00
Todd tiantuo Li 505f246c74 SWDEV-267762 - add RMB(gfx1035) to deviceQuery
Change-Id: I5388d9083a1b45751f024474ec4e0ae38e1e9107


[ROCm/clr commit: e1c4b22a32]
2021-01-12 09:13:40 -08:00
Vladislav Sytchenko 949a42427e Disable oclruntime.OCLDynamic test
This test is causing a PSDB timeout. Not all systems can support
device enqueue on rocm.

Change-Id: I55a209877288e6cc96b2426bf960fa9a431ac7c3


[ROCm/clr commit: ed812e304a]
2020-12-14 12:30:10 -05:00
Alex Xie 86eae09771 SWDEV-254386 [Navi 2x] Add Navi IDs to ocltst test
Cherry pick from npi branch.

Change-Id: I4e72c5477d7e0ebb454d651d1f84866ce4d27ee5


[ROCm/clr commit: ebd1a4a150]
2020-10-27 16:00:45 -04:00
Jason Tang 0e19d02735 SWDEV-255321 - Support target names from Target ID feature
Change-Id: I45e5314dff2ee65dd402c38744279bf67501304d


[ROCm/clr commit: bad12583b0]
2020-10-06 09:00:54 -04:00
Vlad Sytchenko 0611a0502a 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>


[ROCm/clr commit: 3be244fb34]
2020-07-06 15:56:46 -04:00
Jason Tang 83153d4a2d Enable OCLReadWriteImage test on Linux
Change-Id: I613e5ff6dd0234515409b8d3f7277f5bbdd1bd20


[ROCm/clr commit: 17dafe33de]
2020-06-10 15:30:23 -04:00
Vlad Sytchenko 1f915dddd2 Disable oclruntime OCLPerfCounters test
For some reason the test is causing latest rocr to crash. Disabling for now to investigate.

Change-Id: I78996241e6756c36af4b7f5fcb34e915bf33573e


[ROCm/clr commit: ce2c28c745]
2020-06-03 13:57:40 -04: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 fbc4d1b788 Only build oclgl tests if OpenGL is installed on the system
Change-Id: I226f2e09c98a970ce8dce0b6f670ca13d868aeb6


[ROCm/clr commit: 876cf62e0e]
2020-06-02 13:31:29 -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