Graphe des révisions

525 Révisions

Auteur SHA1 Message Date
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
cadolphe a82e0fe333 SWDEV-462404 - Fix num_mip_levels for 1D Buffer
Updating field num_mip_levels to better align with OpenCL specification that mip-mapped images can not be created for CL_MEM_OBJECT_IMAGE1D_BUFFER images. Added check for miplevels value used for ClCreateImage call.

Change-Id: I82a25b83ef0637a877409572b7976d9e4413dfac


[ROCm/clr commit: 21a1c9075a]
2024-07-23 11:16:38 -04:00
Julia Jiang 3c7ae28776 SWDEV-472710 - Adding gitattributes and remove trailing spaces
Change-Id: Ic8ad2071745f0ffe6a2e120bfebb6d90bf270f87


[ROCm/clr commit: dd30e0e893]
2024-07-15 12:39:56 -04:00
Julia Jiang 3623e54842 SWDEV-472908 - Fix oclConfWimpyfull test failure
Change-Id: I44fddb88353e86a2f37e3ac870ba84cf6cace197


[ROCm/clr commit: 1e0565cc01]
2024-07-12 13:40:48 -04:00
Jatin Chaudhary 7425b0e1a4 SWDEV-470698 - add common .clang-format inside main folder
Remove the redundant copies inside sub folders. This was useful when
these projects were independent but now since they are merged they
should have one single .clang-format file.

Change-Id: I60510d7b78b129c761e84f13403492bd0c5d941a


[ROCm/clr commit: b5b1f639c0]
2024-07-11 11:39:16 -04:00
Ioannis Assiouras 75104df3b2 SWDEV-464648 - code and comment cleanups
Change-Id: I5ba3f1bff500b3cd5903c2f441017735e688f83f


[ROCm/clr commit: 8f42ad6aa3]
2024-06-07 22:38:09 +01:00
Gu, Wangfeng 28009e625b SWDEV-460019 - [OGLP][Nv2x] DaVinci Resolve Studio: Crash observed when editing in color tab
When CL-GL interop is used, a GL context are used by two or more threads at the same time, which causes race condition.

Solution:
Add lock when accessing GL functions during CL-GL interop.

Change-Id: I3a34da3cbdf74c401111cc4e3a04ad84cc52709e


[ROCm/clr commit: 0c6a952a90]
2024-06-04 16:35:44 -04:00
kjayapra-amd 5436ebf0b9 SWDEV-457529 - Fix to build dynamic OpenCL libs in Static build environment.
Change-Id: Iaa26ccf13df919e6180704650564d9b0633e59da


[ROCm/clr commit: 63ccbef0d8]
2024-05-28 06:31:10 +00:00
Ranjith Ramakrishnan 9e13336b47 SWDEV-405330 - Add version details to amdocl shared library
Change-Id: I517075790a48e0a85a2cbd00150b279f13d51ebe


[ROCm/clr commit: 0ef7e3a99c]
2024-05-28 06:31:10 +00:00
Ajay 31748d52c7 SWDEV-460151 - enable gfx12 code in runtime
Change-Id: I2d6fbf350c7cc2e1e4a698f0bad4ce8d512c4368


[ROCm/clr commit: d754ab4e30]
2024-05-28 06:30:26 +00:00
Alex Xie 0812cc34a6 SWDEV-451945 - Remove ShouldLoadPlatform function
Change-Id: Iabb4071bb77201576bc2c0488a04f4fa188815df


[ROCm/clr commit: 2eb30376ba]
2024-05-06 10:42:59 -04:00
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