Commit gráf

74 Commit-ok

Szerző SHA1 Üzenet Dátum
Maneesh Gupta dc41080660 SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f


[ROCm/clr commit: 1bc186323f]
2023-03-26 15:42:33 +00:00
victzhan 33d3101cf6 SWDEV-345751 - Added parameter check for clEnqueueWriteImage
Change-Id: I9606ea1c3698d009f23b7da673c02fa05b009dbc


[ROCm/clr commit: 96cd9f7b76]
2023-01-26 16:49:56 -05:00
Victor Zhang 3a2d258194 Merge "SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification" into amd-staging
[ROCm/clr commit: a1beaf54a6]
2023-01-26 16:25:11 -05:00
German a1371d6309 SWDEV-377991 - Remove liquidflash support
Change-Id: I928ed40f11461d5da07190e67bbec6a5363c42a6


[ROCm/clr commit: b9901144eb]
2023-01-19 11:15:46 -05:00
Victor Zhang c200479039 SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification
Change-Id: I4ee000008c52a0bbdb47e94a8e1b5faf28c3bfe6


[ROCm/clr commit: 1fe9918576]
2023-01-17 00:52:04 -05:00
Todd tiantuo Li 8f2b881c3b SWDEV-354868 - return CL_INVALID_VALUE if number of RT CUs is less than its granularity when creating command queue
Change-Id: I31004e82589c3378dba5541095a1eff763d4579d


[ROCm/clr commit: 6d4e067302]
2022-12-13 04:59:33 -08:00
Ioannis Assiouras 48173fdcb5 SWDEV-369581 - Convey copy API metadata to ROCclr
Change-Id: I318636602cbb546a12bb339264153b9be4008b40


[ROCm/clr commit: 829843cdfe]
2022-12-09 00:27:55 -05:00
German 95bcc9655f SWDEV-368308 - Remove HW debug extension
Remove the header file, used in rocclr.

Change-Id: I1dfdbb05fdcbaf32708252071e8955d2ca94126d


[ROCm/clr commit: 92f0607f87]
2022-11-18 14:04:17 -05:00
German ba2941e57d SWDEV-368308 - Remove HW debug extension
The extension was devloped for AMDIL path only.
OCL runtime doesn't support AMDIL path  anymore.
The new debugger interfaces don't require any runtime calls either.

Change-Id: I6215545f9b6ae5c70b5f076c3cbfbfd3b5eef42b


[ROCm/clr commit: 0db20050bc]
2022-11-16 17:37:06 -05:00
Alex (Bin) Xie 757ad58402 SWDEV-329646 - MicroStation app crash upon closing
Change-Id: I0ca272be42934ee96f45300fa06847cd74170f13


[ROCm/clr commit: 10648c4d70]
2022-04-21 12:29:48 -04:00
sdashmiz f8355f5fb0 SWDEV-329349 - add display support for Opencl
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Icf5253ba87f3852153c620fb7b789bd6e90cb52e


[ROCm/clr commit: 9f5685ea0a]
2022-04-13 15:11:29 -04:00
Hao Yuan abc4522fa3 Merge "SWDEV-328274 - Move DLLMain from VDI layer to HIP/OCL layers" into amd-staging
[ROCm/clr commit: 4d300d1f8a]
2022-04-12 11:00:51 -04:00
haoyuan2 605958392b SWDEV-328274 - Move DLLMain from VDI layer to HIP/OCL layers
Change-Id: I89db993ba90783c53546c5290c00e13f5c24edf4


[ROCm/clr commit: fe173ed9fb]
2022-04-08 12:12:07 -07:00
Jeremy Newton 60d0d8444e SWDEV-321116 - Drop unnecessary ICD include
This looks unused. This should allow building rocm-opencl without any
dependency on any particular OCL ICD.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Ib9229ede8400fd0e883275659ab99513b03952cb


[ROCm/clr commit: 86c9bb1946]
2022-04-07 14:45:43 -04:00
Maneesh Gupta ff659975f4 SWDEV-325869 - Update ASAN linker options
Change-Id: I9ef513ab647ec0866cdf0f70f759ab95d80081b9


[ROCm/clr commit: 94ed5262c6]
2022-03-03 11:45:06 +00:00
haoyuan2 73f1a43d97 SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows
dummy function for OCL, release resource for HIP

Change-Id: Idda5047ab7393747d13a9231e0cca5953fc68a6a


[ROCm/clr commit: 5d65c0da88]
2022-02-25 20:02:41 -08:00
German Andryeyev e77c8bebde SWDEV-300515 - Expose RT CU granularity
Change-Id: I15369eb522c29035cd67cd36a9a88517ef3aca59


[ROCm/clr commit: 81ed495bbd]
2022-02-04 00:04:58 -05:00
Alex Xie 3be7aef366 SWDEV-305752 - OCL WIN Conformance select test fail
unmap should complete before working on the other mapping API

Change-Id: I27517888f3112d1113894cdbcb7a786321a3e554


[ROCm/clr commit: 1ced9040b6]
2021-10-28 12:20:15 -04:00
Sarbojit Sarkar a093d4babb Merge "SWDEV-301823 - Fix for memset2D/3D optimization" into amd-staging
[ROCm/clr commit: 1643555ad7]
2021-09-28 00:06:39 -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
Sarbojit Sarkar 333cf557e8 SWDEV-301823 - Fix for memset2D/3D optimization
Change-Id: I03d41a1908ca547e27774e6ced98571913e1808a


[ROCm/clr commit: 5847bb9c7d]
2021-09-25 12:11:26 +00:00
Jason Tang cea605e632 SWDEV-1 - switch to C++17
Change-Id: I555914fc65f61259fe32a7f58864ac0dba1d641f


[ROCm/clr commit: 9ca733ca1e]
2021-09-04 17:19:02 -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
Vladislav Sytchenko bb26e65554 SWDEV-289871 - Restore missing -Bsymbolic option
-Bsymbolic is required to make sure all AMD OpenCL runtime symbols are
resolved internally, otherwise ld might resolve them using symbols from
the OpenCL ICD. This will cause incorrect functions to be called.

Change-Id: I4ca0326a574ee2e537525bfda96ec20fabfe0158


[ROCm/clr commit: bc5c8df20b]
2021-06-07 14:22:53 -04:00
Vladislav Sytchenko 43b6294afb SWDEV-273235 - Do not use target_link_options()
Some CI systems have a somewhat out of date version of cmake, which
does not have this functionality. Fall back to using
target_link_libraries() instead.

Change-Id: I2410b24bcb6f1be2c2c3303ccd0019b10c914d2e


[ROCm/clr commit: 58c93c8047]
2021-06-02 21:03:28 -04:00
Vladislav Sytchenko 208c198d71 SWDEV-273235 - Correct linker export file usage
CMake doesn't handle linker export files in a general way well. On
Windows it is able to recognize a .def file and pass it to the linker.
Unfortunately it cannot do the same thing on Linux, so we have to
manually specify it.

Note that CMake can't recognize the current Windows export file due to
the .in suffix, hence why the amdocl.def file is being added. The
amdocl.def.in file will be removed later, as the Makefile build still
uses it.

Change-Id: I33a4151af0257d56d46cd27cbd028b34b77b706b


[ROCm/clr commit: 75b232eea2]
2021-06-02 12:56:14 -04:00
Vladislav Sytchenko 9f54cba1ed SWDEV-273235 - Cleanup OpenCL installation logic
Don't use hardcoded install destinations. CMake will decide where things
should be installed based on platform.

Change-Id: Ifcf956181d3efb32d4ce6191a89c1ea225d0e8cc


[ROCm/clr commit: d53c19cfa5]
2021-06-01 14:31:14 -04:00
Vladislav Sytchenko 22cc67a4db SWDEV-273235 - Fix warning in the cmake build
Change-Id: I9840da22fcce11712c32e68f07ad886d08c8b16f


[ROCm/clr commit: ae36b6c0aa]
2021-05-27 18:09:26 -04:00
Vladislav Sytchenko f7bbb7b988 SWDEV-273235 - Initial support for Windows CMake
This change is tied to the ROCclr cmake rework. ROCclr will now be built
as part of OpenCL itself.

All the dependencies on comgr and rocr have been moved into ROCclr
itself. This allows OpenCL to pull in all the required compiler/runtime
dependencies by simply linking against ROCclr. Note that ROCclr needs to
be configured from OpenCL cmake command line. If not, we will default to
LC + ROCr support.

Change-Id: I5271302d073aef8cfa617828d218c856711bf9ba


[ROCm/clr commit: 1c16690617]
2021-05-27 13:08:12 -04:00
Jason Tang 7fe2873a05 SWDEV-277566 - Use amd::Program::load interface
Change-Id: I0c19d4efcc09709b8aced6fa63e6deae39f58abb


[ROCm/clr commit: b423c699a6]
2021-05-10 16:46:03 -04:00
Vladislav Sytchenko 109a7255cb SWDEV-273235 - Allow explicitly disabling LF support
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.

Allow this by setting -DWITH_LIQUID_FLASH=0.

Change-Id: I8f147b5d52ca1c8203000beea8f16b2699548dc3


[ROCm/clr commit: 8af3f12790]
2021-05-05 12:43:59 -04:00
Vladislav Sytchenko eeb06dd4b7 SWDEV-273235 - Remove implicit dependancy on WGL
Change-Id: I8355587be50492767caa3d2a4e602bdd6eb73960


[ROCm/clr commit: 4127be5c63]
2021-05-05 12:42:35 -04:00
Vladislav Sytchenko a1f74b3b7a SWDEV-273235 - Minor build fixes for Windows CMake
runtime directory only exists in P4. We should not be referencing it.

Change-Id: I1d88f32fccc716468c070235c4797bd905a76866


[ROCm/clr commit: 5958b3bba5]
2021-05-05 12:40:26 -04:00
German Andryeyev d108c2eee6 SWDEV-86035 - Disable liquidflash for PAL build under Linux
Change-Id: I19d335654f98277be0e9af8a25e38d86a6b8de2e


[ROCm/clr commit: c9feefc584]
2021-04-21 17:03:10 -04:00
pghafari b6461096d9 SWDEV-245532 - HIP - Vulkan interop, syntax update
Change-Id: I5fd4431bab4d975efec47298f2746fbcbbec8a44


[ROCm/clr commit: 74de707cf2]
2021-03-25 13:40:55 -04:00
Payam Ghafari 8bfbe25314 Merge "SWDEV-245532 - HIP - Vulkan interop" into amd-staging
[ROCm/clr commit: a4ec8608e8]
2021-03-23 23:36:59 -04:00
German Andryeyev 95091ae4a4 SWDEV-276625 - Add implicit glFinish() for cl_khr_gl_event
Modifies the behavior of clEnqueueAcquireGLObjects and
clEnqueueReleaseGLObjects to implicitly guarantee synchronization
with an OpenGL context bound in the same thread as
the OpenCL context.

Change-Id: I23eddee37a77f6c1c9d1a9ad3a3e1eb254a1ed82


[ROCm/clr commit: c4cde09339]
2021-03-22 16:49:03 -04:00
pghafari 5f179326bd SWDEV-245532 - HIP - Vulkan interop
Change-Id: Ied16503cc154fbda8ce28db25df746cccb19e0ba


[ROCm/clr commit: 67e9aac689]
2021-03-22 15:06:50 -04:00
German Andryeyev 6df593de96 SWDEV-276569 - Add P010 support for DX9
Change-Id: I652debccc0fabad89eff3052b884a59d44ee8233


[ROCm/clr commit: 89791c14f9]
2021-03-15 14:45:26 -04:00
German Andryeyev 7a411d1a41 Merge "SWDEV-276631 - return error codes for clCreateEventFromGLsyncKHR()" into amd-staging
[ROCm/clr commit: 89e15747ae]
2021-03-15 09:46:36 -04:00
German Andryeyev 890afbf666 SWDEV-276631 - return error codes for clCreateEventFromGLsyncKHR()
Change-Id: I9b93f5bde157d0f746a9d662ef35fbbb20cce6e6


[ROCm/clr commit: 9aebe61637]
2021-03-12 14:34:59 -05:00
Jason Tang b681f1c159 SWDEV-275828 - Fix api negative_get_platform_info test
Change-Id: Iffbcd4fe3b3b59a072e3374c0af3409338eeeca2


[ROCm/clr commit: 4ea3e44ac8]
2021-03-05 11:34:38 -05:00
German Andryeyev 092391b551 SWDEV-274464 - Enable pitch alignment for imagebuffer only
Change-Id: Icfe67e689f99f0859c997281abf80ae5254852fb


[ROCm/clr commit: cddfd9e301]
2021-03-02 15:28:51 -05:00
German Andryeyev ff6c8c32b3 SWDEV-274464 - Align image width for pitch calculation
Change-Id: I2f817993da06d2e6fe23e8b4b9d0fe10a2e61760


[ROCm/clr commit: b123dbed2a]
2021-02-27 01:30:52 -05:00
German Andryeyev feed6a4b45 SWDEV-273071 - add mipmaps detection for FillImage
If mipmap was detected, then create a view with single mip level

Change-Id: I4519b35bd0365c108c42fdb37bfaad729dbc684e


[ROCm/clr commit: 4dc90dae10]
2021-02-16 16:19:28 -05:00
Vladislav Sytchenko 481b25fd08 SWDEV-1 - Fix Windows build
Change-Id: I3867b4a7175316121246a639fb8d704ad491adb6


[ROCm/clr commit: 70ac5c3bd8]
2021-01-26 11:01:30 -05:00
Tony Tye 2119330db1 SWDEV-268864 - Use new isa class to access isa related information
Change-Id: I866eeef06f86df77c651a25fdf7bceed2c28af52


[ROCm/clr commit: 91bb64409b]
2021-01-18 22:33:25 +00:00
Reshabh Sharma 202d12ae03 SWDEV-253557 Strip debug symbols for release builds
Change-Id: I4f75a0c08020ecd76e1eec159f266cd1f754af92


[ROCm/clr commit: 255c168ad7]
2020-10-16 16:10:51 +05:30
Reshabh kumar Sharma 6b51a4e16a Revert "SWDEV-253557 Strip debug symbols for release builds"
This reverts commit 78e8224ad3.

Reason for revert: Breaks mainline build

Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58


[ROCm/clr commit: 3997b03026]
2020-10-16 04:03:07 -04:00