Commit Graph

514 Commits

Author SHA1 Message Date
Julia Jiang 1e22a14b1b SWDEV-455586 - create ocltst ASAN test instrumented pkg
Change-Id: I820cacd75a36363d1387e2e881c96937281bc265


[ROCm/clr commit: feaef7f54e]
2024-04-30 17:50:15 -04:00
cadolphe 02330a5324 SWDEV-443537 - fix make build warning message
Add cltrace compile definition for CL_TARGET_OPENCL_VERSION to OpenCL 2.2

Change-Id: Ie868ab0a6e86951afc6d07da58be942c3b736d15


[ROCm/clr commit: f7b1398361]
2024-04-02 16:42:01 -04:00
Saleel Kudchadker f3aedfbec0 SWDEV-301667 - Create TS for each node recorded in graph
- Create a vector to allow multiple TS to be stored in Command.
- This would mean we dont wait for entire batch in Accumulate command
to finish when we exhaust signals.
- Reduce the number of signals created at init to 64. This min value
may still need to be tuned but the KFD allows max of 4094 interrupt
signals per device.
- Store kernel names whenever they are available and not just when
profiling. If we dynamically enable profiling like for Torch, a crash
can happen if hipGraphInstantiate wasnt included in Torch profile scope
beacuse we previously entered kernel names only when profiler is
attached.

Change-Id: I34e7881a25bbc763f82fdeb3408a8ea58e1ec006


[ROCm/clr commit: c157bfb202]
2024-03-26 14:47:24 -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
taosang2 1196e76a6c SWDEV-448792 - Fix clinfo local buffer type
Change-Id: I0228c5e97ce7c466983fd4af71d25e7f8161c2c8


[ROCm/clr commit: dd43dc930d]
2024-03-12 13:48:59 -04:00
jujiang f120b0b805 SWDEV-446296 - Update README for the repos link change
Change-Id: I13f73e3c9a066c5e92f630bcd06f777790087e5e


[ROCm/clr commit: 4c28f4aefd]
2024-02-20 18:53:07 -05:00
cadolphe d94f68091f SWDEV-443537 - Fix cmake build warning
Update cmake minimum requirement on deprecated cmake version (2.8.11) to non-deprecated version (3.5)

Change-Id: Ib76d241babf475a26464e8b12b91d67e48f72b60


[ROCm/clr commit: e37aaeae09]
2024-02-06 14:51:56 -05:00
Ioannis Assiouras b97b245b0a SWDEV-443796 - Translate CL_INVALID_GL_OBJECT error for DX/CL interop
Change-Id: If87bb9d0fb275dd4d9a8a949f4016a082a300144


[ROCm/clr commit: 32d49d55ec]
2024-02-05 10:29:00 -05:00
Alex Xie dcf9f5a27a SWDEV-443538 - Fix cmake build warning
Use GLVND versin of GL

Change-Id: I1d6b0ec8672a232d017ad27a01803556992e8a49


[ROCm/clr commit: 370ff6ea3e]
2024-02-05 05:08:11 +00:00
cadolphe bd399106ae SWDEV-368741 - Check for uninstalled hsa-amd-aqlprofile to avoid Segmentation Fault
Change-Id: I0c0c7a2ea7c35237332ddd7c2461e4d9ff8e2f1c


[ROCm/clr commit: 243b86dd23]
2024-02-05 05:08:11 +00:00
Konstantin Zhuravlyov 326372ce2d Don't pass -fsc-use-buffer-for-hsa-global option in OCLPerfUncoalescedRead test
- This is an SC-only option

Change-Id: If9afe5f8e4ec6dbcf6ce1ca4406131ef92669f84


[ROCm/clr commit: 55e5b3d07a]
2024-01-02 23:13:45 -05:00
Alex Xie 15756659d0 SWDEV-438177 - move ldconfig to amd opencl package instead of icd
Change-Id: I2486f38d398a508ead7d24f03d4cf7816d5c157c


[ROCm/clr commit: 06ff62da61]
2023-12-20 10:04:58 -05:00
Alex Xie 5aaa498e45 SWDEV-434373 - Add icd config to opencl package
Change-Id: Id2d143ae82b0fa4d5321912fca9daa1e958f1fb6


[ROCm/clr commit: 5a3c4ea49d]
2023-12-11 11:17:37 -05:00
AravindanC 50dab3bf30 SWDEV-354543 - Update File permissions for opencl sdk
Change-Id: I0a0f28a969d130ac003110b9abd4b768bc20be69


[ROCm/clr commit: 24fced96b3]
2023-11-28 13:06:00 -05:00
Alex Xie cea00f53fb SWDEV-423536 - [ROCM QA] Observed 1 test failed
Change-Id: Icb41f1031ec40e0df5df7a6d21ffd6602b665a09


[ROCm/clr commit: ae8d3a6a4e]
2023-11-20 11:57:29 -05:00
Alex Xie b444ee5b3b SWDEV-423579 - Move header file to ROCclr
This header file is used by ROCclr and might be used by HIP too.
ROCclr folder is a right place for this header file.

Change-Id: Ie2307331f9bd445f3c295d2ccbfc4924b0fa9510


[ROCm/clr commit: 124de0c519]
2023-10-06 14:54:50 -04:00
Alex Xie c0bb71bd74 SWDEV-421710 - Remove unused GL function pointers
Change-Id: Ifd77314b51d4b1494428bf8b611051245dbc3feb


[ROCm/clr commit: 2804aa8e34]
2023-09-12 18:17:04 -04:00
Alex Xie 0309108c97 SWDEV-411369 - printf parameter is wrong
Change-Id: I3c6752bd0266919215de6282d289afd04c77d8ef


[ROCm/clr commit: 4969004422]
2023-08-10 11:31:58 -04:00
Julia Jiang d418e686ce SWDEV-415212 - Fix OCLruntime DeviceQuery test failure
Change-Id: I2e47c76d2145716fe6eeea81d68adbfa7f8b9be8


[ROCm/clr commit: ad18362822]
2023-08-08 14:00:38 -04:00
Ranjith Ramakrishnan d665a115e2 SWDEV-366827 - Disable file reorg backward compatibility support by default
Change-Id: Ifb0e3ea1a2217e287498efc26369596209be8c93


[ROCm/clr commit: 03ad34a6c6]
2023-08-08 13:32:17 -04:00
victzhan 7e80d81b1e SWDEV-404886 - Modified CMakeLists.txt for opencl to generate pdb files in release mode
Change-Id: I2945144c3efb88c1045399cf1c33e4a82c53c0e6


[ROCm/clr commit: 134d6449b3]
2023-07-05 18:33:46 -04:00
Jason Tang 6edd795788 SWDEV-404928 - Remove rocm-opencl depends of rocm-ocl-icd
Will replace rocm-ocl-icd with packaging of khronos opencl-icd-loader

Change-Id: I26da58e80fd1426b9908d0b524f93b17ab27626d


[ROCm/clr commit: a4bba6d705]
2023-06-14 14:35:57 -04:00
jatang 34f68be605 SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster
Change-Id: If20cd6b509896a748f74ab5296cb85f2c4a9f04c


[ROCm/clr commit: a456182888]
2023-06-06 17:15:34 -04:00
German 17c6b36204 SWDEV-403871 - Add MS platform recognition
Change-Id: Ie01e876f9322e35f4430352d1e4328f613133ee5


[ROCm/clr commit: c0e9734c35]
2023-06-06 11:57:07 -04:00
Ranjith Ramakrishnan fe2a510c08 SWDEV-366831 - Compile time flag to switch between #warning and #error message
Using backward compatibility paths will provide #warning message be default.
Compile time option added to enable/disable the #error message.
Updated the backward compatibility message

Change-Id: I3bab00df26145991b32176d2d76977c2e953bf5f


[ROCm/clr commit: f788150132]
2023-06-01 04:22:19 -04:00
Alex Xie 1678c03e90 SWDEV-390565 - ocltst test failing
part 2 of the fix

Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837


[ROCm/clr commit: 42f8b9183d]
2023-05-01 12:31:37 -04:00
Alex Xie e9b17e263a SWDEV-389541 - mipmap tests failed
Change-Id: I8dec8ff9515c55a3a6b16157f7d064b2b109d5f3


[ROCm/clr commit: 475f80ee0e]
2023-05-01 12:31:17 -04:00
Alex Xie c271c5cb29 SWDEV-390565 - ocltst test failing
Change-Id: I76a12878a1d3c029b771335eb23b129cac125517


[ROCm/clr commit: a0c1f496a4]
2023-05-01 09:37:36 -04:00
German Andryeyev b2525dfb82 SWDEV-381627 - Move cl_vk_amd.hpp into rocclr
Rename VK interop to ExternalMemory object, since it should handle
DX interops also

Change-Id: I536ec46d3e53ece35234a2e29030393ad411b96d


[ROCm/clr commit: 3e5803c4c0]
2023-04-26 15:25:01 -04:00
Todd tiantuo Li f506eebd90 SWDEV-391224 - cltrace support for MEDIUM_PRIORITY queue and RT queue with their number of dedicated CUs
Change-Id: Ifec6e0995e324887f8df02f27cb61e2a035e6a82


[ROCm/clr commit: 42e7cb77d9]
2023-04-25 04:29:20 -04:00
German Andryeyev 53d0d75d8c SWDEV-391858 - Reduce the size of step transfer
Change-Id: I78e9ed3c6550c497d6abdcf2b9e1a6d5bcdf7315


[ROCm/clr commit: 930d1f04c2]
2023-04-21 13:50:15 -04:00
Ruili Ji 74405e021d SWDEV-391103 - fix ocltst segment fault and update device info for gfx1103
Change-Id: I7a45ef98fd03113b148178fed3b64b919ee4eb6d


[ROCm/clr commit: d33c1a06cf]
2023-04-20 07:26:22 +08:00
victzhan 489f17c447 SWDEV-387117 - Support negative miplevel for clCreateFromGLTexture()
Change-Id: Ieaa340196e6844b2d18cdcc2278f913fc7c7bbb8


[ROCm/clr commit: 636983de49]
2023-04-19 12:46:45 -04:00
Julia Jiang 98e33ef5b6 SWDEV-392363 - fix DeviceQueries failure on MI300 APU system
Change-Id: I5542f3a4575fe252fff8e329fd28e5624b44486a


[ROCm/clr commit: 9ca45d289b]
2023-04-19 12:09:20 -04:00
pghafari 82219d2fb1 SWDEV-366992 - adding handle type for vk interop
Change-Id: I79ee0d89b948c21b96709e9e607abe7901621a97


[ROCm/clr commit: 78de2ae692]
2023-04-18 16:59:25 -04:00
jatang f7d22068bd SWDEV-385312 - Move ocltst installation directory
Change-Id: Ibf9a5992fd9a7a2cd2d9c711fd76c0dee365570e


[ROCm/clr commit: d843c02843]
2023-04-18 16:19:02 -04:00
Rahul Garg d0f51600f7 SWDEV-391858 - Revert "SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster"
This reverts commit 50208c1a00.
Reason for revert: To fix ocltst issues.

Change-Id: Iac828e36e5288805be91f1b1efc7b95dda51b877


[ROCm/clr commit: eb5df70929]
2023-04-13 21:29:19 +00:00
Ranjith Ramakrishnan 94be4c2c2d SWDEV-351540 - ASAN packaging for OpenCL
Package ASAN libraries and License file for ASAN package
Suffix "asan" added to package name

Change-Id: I1ae715d2ebc50d8a1ca6336c25802b989584ce40


[ROCm/clr commit: 8a4bf91145]
2023-04-07 12:35:25 +00:00
jatang 50208c1a00 SWDEV-373396 - OCLCreateBuffer: make the CPU checkResult() 4 times faster
Change-Id: Ia6e614d76ea0532e7e6424bd33a5e81fbd49db9e


[ROCm/clr commit: 6bf7514adb]
2023-04-05 16:40:59 +00:00
Julia Jiang 7996429d24 SWDEV-388516 - Fix OCLPerf tests intermittent crashing
Change-Id: Iea69526a0ade08c33f68515bf6682b62291fdc7a


[ROCm/clr commit: f3a46d9d7a]
2023-04-05 16:40:47 +00:00
agunashe 8878a5db05 SWDEV-381627 - opencl refactor for interop files
moving the common files to vdi

Change-Id: Iab113e8bd93473553e64106f690496e6bf2bda03


[ROCm/clr commit: ccf4f5f849]
2023-04-05 16:40:03 +00:00
Maneesh Gupta 744257e243 SWDEV-361630 - Fix rocm-ocl-icd package
Change-Id: Ib52dff09ee1c72b41c014b5e022cc2d8d79e0754


[ROCm/clr commit: c6760a55d0]
2023-03-30 09:10:58 +00:00
Maneesh Gupta 90da0eaee4 SWDEV-361630 - Enable opencl build
Change-Id: I19f8aa2e8157b8bfa053c502dcd63c52f0b6f104


[ROCm/clr commit: d9ceb6a3a3]
2023-03-26 15:42:33 +00:00
Maneesh Gupta dc41080660 SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f


[ROCm/clr commit: 1bc186323f]
2023-03-26 15:42:33 +00:00
jatang 87a4e33150 SWDEV-386095 - Remove GL dependency from oclperf
Change-Id: Ie65e2b51af399e0816bb1f5283c8f2e7a330c730


[ROCm/clr commit: 94b1872628]
2023-03-08 15:55:54 -05:00
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