Commit Graph

255 Commits

Author SHA1 Message Date
Pruthvi Madugundu ae4376f0f9 Make CMAKE_SHARED_LINKER_FLAGS appendable
Signed-off-by: Pruthvi Madugundu <pruthvi.madugundu@amd.com>
Change-Id: I3c23223270976b8746d5b4debf4d846ae0aa4c6f


[ROCm/clr commit: 8ba1527661]
2020-04-20 13:51:05 -04:00
Pruthvi Madugundu eceb5d2e82 Merge "Removing ld.so.conf entry for Opencl package" into amd-master-next
[ROCm/clr commit: bbcfe78d1c]
2020-04-20 13:50:41 -04:00
Pruthvi Madugundu fe6e14447b Removing ld.so.conf entry for Opencl package
- The entry removed only when the installation is NOT /opt/rocm

Signed-off-by: Pruthvi Madugundu <pruthvi.madugundu@amd.com>
Change-Id: Ib90f89e63cffb4ae8f628af15387a49bb6511a5f


[ROCm/clr commit: 5f710a5ecb]
2020-04-17 12:27:57 -07:00
Payam 38912263db adding License file
Change-Id: I495066010288a346b0cfaee44554a5aa8dace491


[ROCm/clr commit: 6e5b4ff46c]
2020-04-17 14:28:24 -04:00
Vlad Sytchenko 5e9504b200 Cherry pick 5c6b85 from KhronosGroup/OpenCL-CLHPP
Updates cl2.hpp and cl.hpp to handle case of platform with zero devices without error.

Change-Id: I6190c65ebf894b3a26579c54e96881c334346358


[ROCm/clr commit: 0779b034c4]
2020-04-14 16:11:15 -04:00
Payam 335435ff84 Adding an initial Readme file
Change-Id: I4eccb10383c555c88adf30fb695b41be3f869dc5


[ROCm/clr commit: 17d5d73ff2]
2020-04-10 15:45:27 -04:00
Vladislav Sytchenko c21c9d51d2 Fix Windows build
The D3D interop APIs are now declared in the CL headers, so we need to remove our declarations.

The CL headers also automatically include the D3D headers, which need to be included in a specific order (11 -> 10 -> 9), hence why the includes needed to be reshuffled.

Change-Id: I9bd37ceabec82e8bebd1d9c1a5a672ffc95c41d8


[ROCm/clr commit: c4a02ce16f]
2020-04-07 18:44:01 -04:00
Payam 90f37605a8 removed unused cl.hpp in clinfo
Change-Id: Idb7fc843d380322502a249231ef60799ae291ca1


[ROCm/clr commit: 3092e7c906]
2020-04-06 19:05:24 -04:00
Saleel Kudchadker 8c8ad8153f Promote Khronos OpenCL-ICD-Loader master
master as of https://github.com/KhronosGroup/OpenCL-ICD-Loader/
commit/c7fda8bb042760b5ead8650c64445f5972a64ad7

Change-Id: Ia852f55ecf0b0aceff915991328812ed9788698f


[ROCm/clr commit: 49f3835666]
2020-04-02 17:02:58 -04:00
Saleel Kudchadker 5029a7b467 Update OpenCL 2.2 headers
Update headers as of master https://github.com/KhronosGroup/OpenCL-Headers/
commit/9dde5da9c32cbd78656a5e2417c256922e851111

Change-Id: I698a3a1b92730c52b160b51af95469c2b54331c1


[ROCm/clr commit: 4092e3dee3]
2020-04-02 02:46:20 -04:00
Aaron Enye Shi 950b3885f1 SWDEV-228303 - Fix clinfo default permissions
Change-Id: I2ed3aa2e2705783388a2832415d5a0131d3b57f6


[ROCm/clr commit: 244b86896d]
2020-03-23 11:00:58 -04:00
Aaron Enye Shi fdcb4fe053 Fix OpenCL CentOS package name
Change-Id: Ifb3478563f68b190da4bb97bc3d1c31bcefb4fff


[ROCm/clr commit: e8c929441d]
2020-03-19 14:15:02 -04:00
Aaron Enye Shi 908396dca0 SWDEV-227621 - Fix OpenCL CMake Packaging
Update the packaging code to be CMake 3.5 compatible for CI. Create two
packages rocm-opencl and rocm-opencl-dev on Ubuntu and CentOS. Add
proper versioning into naming.

Change-Id: I116081b7f6f7efa4be43ab3a66e4d3bff0589298


[ROCm/clr commit: b3d035b1dc]
2020-03-18 15:22:11 -04:00
German Andryeyev b2bb42e8d1 SWDEV-79445 - Remove cl_amd_object_metadata extension
Change-Id: I0dd3d8a249b407dd9fac4ef32ebe9b14fd5ff859


[ROCm/clr commit: 25c29a99b1]
2020-03-12 15:14:01 -04:00
Vladislav Sytchenko ef70c8addf Add .gitignore file.
Change-Id: I4f3d33dd52c11ea5886bdd1d91c7c47e05dee9a1


[ROCm/clr commit: 08a6880b93]
2020-03-06 14:01:21 -05:00
Payam 47b18ccf54 clean up
Change-Id: I6520e9b796675cd8879c1116e7739764056a2666


[ROCm/clr commit: e65dc6f8be]
2020-02-24 14:32:13 -05:00
German Andryeyev 5009800a71 SWDEV-222307- Add CMake support for PAL
Use the new config file from VDI for the final link

Change-Id: Ia9dd284b630d82bb9c6fe54e5ddc2f493bd57152


[ROCm/clr commit: 723f0f4e4e]
2020-02-14 13:29:32 -05:00
Payam a08ffb243c updating cmake comgr search path
Change-Id: I692e55ad8517fe5d3f12267beaa721f6a696d98a


[ROCm/clr commit: c4a4435ca3]
2020-02-10 16:44:03 -05:00
Laurent Morichetti 0ffd5960a7 Update copyright info
Change-Id: I426ca741c082f3367c5d17946da6a25edd46a91f


[ROCm/clr commit: 9207465570]
2020-02-04 09:37:45 -08:00
Laurent Morichetti 8e9b69d1b1 Merge branch 'origin/pghafari/opencl' into lmoriche/amd-master-next
[ROCm/clr commit: d4c39b88c5]
2020-02-03 13:26:46 -08:00
foreman aead882e6d P4 to Git Change 2061101 by skudchad@skudchad_test2_win_opencl on 2020/01/21 16:47:25
SWDEV-219917 - [VDI Cleanup] Remove some direct OpenCL references, introduce a common functionality.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/18488/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#30 edit
... //depot/stg/opencl/drivers/opencl/api/hip/fixme.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#51 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hiprtc_internal.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#190 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_platform_amd.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#610 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#180 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/include/vdi_agent_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/include/vdi_common.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/os/os.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/agent.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/agent.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#54 edit


[ROCm/clr commit: 4c552a6423]
2020-01-21 16:52:40 -05:00
foreman 26db827afe P4 to Git Change 2053377 by gandryey@gera-win10 on 2020/01/07 17:55:38
SWDEV-218016 - There is a bug in the OCL/DX interop
	- Initialize event query value to FALSE and correct the loop condition to make sure query waits for the end.

	http://ocltc.amd.com/reviews/r/18447/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#28 edit


[ROCm/clr commit: 0a27603178]
2020-01-07 17:59:52 -05:00
foreman 1ff7032645 P4 to Git Change 2028995 by jatang@jatang_win_pal_lc on 2019/11/12 11:56:20
SWDEV-207835 - Implement uniform package versioning for cmake version of OpenCL.

	Need to generate the same style of packages name as the Makefile version does.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#29 edit


[ROCm/clr commit: 9a4d0fea49]
2019-11-12 12:04:53 -05:00
foreman 990549fcab P4 to Git Change 2024454 by axie@axie-hip-rocm on 2019/11/04 14:38:31
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 1)

	1. The log macros is turned off for release build.  So log functions has zero impact to release build.
	2. The log macros have level, mask, condition control. So we can have more control to avoid log flooding.

	I also adjusted some existing log to use new log functions.
	1. To excercise and test the new log functions.
	2. To improve performance slightly.
	3. The change is mainly for HIP-ROCM, we can move more in next phases for PAL or ORCA.
	4. I make these log feature unavailable for release build. We can revert to old log functions for release build in a case by case method.

	Tests:
	1. http://ocltc.amd.com:8111/viewModification.html?modId=128289&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128358&personal=true&tab=vcsModificationBuilds

	2. release build, run hip program, there is no log
	3. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=4294967295
	There was a lot of logs.

	4. fastdebug build, run hip program,
	export LOG_LEVEL=2
	export GPU_LOG_MASK=4294967295
	There was no logs.

	5. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=4294967294
	There was much less logs.

	6. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=47102
	There was even much less logs. The logs was expected according to the mask.

	7. Tested step 2 to 6 similarily in Windows and Linux

	ReviewBoard: http://ocltc.amd.com/reviews/r/18215

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hiprtc_internal.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#323 edit


[ROCm/clr commit: 1eb26b28bb]
2019-11-04 14:44:59 -05:00
foreman daf74744af P4 to Git Change 2016282 by gandryey@gera-win10 on 2019/10/18 17:41:12
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove cl_amd_command_intercept extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#21 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#38 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#30 edit


[ROCm/clr commit: 637dda04ac]
2019-10-18 17:47:30 -04:00
foreman 56cc5cf46c P4 to Git Change 2005728 by gandryey@gera-win10 on 2019/09/27 16:30:22
SWDEV-79445 - OCL generic changes and code clean-up
	- Update copyright header. No functional changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_agent_amd.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9_amd.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_platform_amd.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_profile_amd.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_sdi_amd.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_sdi_amd.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_semaphore_amd.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_thread_trace_amd.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d10.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d11.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d9.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltrap.hpp#3 edit


[ROCm/clr commit: 44465253ac]
2019-09-27 16:36:00 -04:00
foreman a8bc66b8b7 P4 to Git Change 2001950 by gandryey@gera-win10 on 2019/09/20 18:39:39
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix LC path with 32bit binaries. Make sure sampler object has a check for 4 bytes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#53 edit


[ROCm/clr commit: e2601e29e4]
2019-09-20 18:52:46 -04:00
foreman e81c22c9a3 P4 to Git Change 2000398 by gandryey@gera-hip-lnx on 2019/09/18 11:42:00
SWDEV-79445 - OCL generic changes and code clean-up
	- Add a check for invalid arguments in the P2P device quiery

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#74 edit


[ROCm/clr commit: 942ecdf647]
2019-09-18 11:49:40 -04:00
foreman c686bd1d49 P4 to Git Change 1988968 by vsytchen@vsytchen-remote-ocl-win10 on 2019/08/26 11:30:16
SWDEV-153682 - Report cl_amd_planar_yuv extension in OpenCL

	1. Update cl_ext  headers

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17875/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#37 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#8 edit


[ROCm/clr commit: 45fca3def6]
2019-08-26 11:40:02 -04:00
foreman 2a7386e3dd P4 to Git Change 1978446 by kzhuravl@kzhuravl-spot-ocl on 2019/08/05 11:37:30
SWDEV-79445 - OCL generic changes and code clean-up

	Bring cmake changes from gerrit (reviewed and tested on gerrit)

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#28 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#7 edit


[ROCm/clr commit: b5025c1924]
2019-08-05 11:41:06 -04:00
foreman 1b8acf2c44 P4 to Git Change 1977064 by kzhuravl@kzhuravl-spot-ocl on 2019/08/01 12:38:51
SWDEV-79445 - OCL generic changes and code clean-up

	- Changes to allow the use of newer icd revisions - http://git.amd.com:8080/c/compute/ec/opencl/+/248346

	Reviewed on gerrit
	Tested locally

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#27 edit


[ROCm/clr commit: 1e56c389a8]
2019-08-01 12:50:41 -04:00
foreman d9b6b4f0c6 P4 to Git Change 1977054 by kzhuravl@kzhuravl-spot-ocl on 2019/08/01 12:32:41
SWDEV-79445 - OCL generic changes and code clean-up

	- Fix COMGR+CMAKE combination - http://git.amd.com:8080/c/compute/ec/opencl/+/247843
	- Fix and clean up packaging (cmake) - http://git.amd.com:8080/c/compute/ec/opencl/+/247844

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#26 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#104 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#6 edit


[ROCm/clr commit: 2b391e2148]
2019-08-01 12:44:10 -04:00
foreman 75b8a9d668 P4 to Git Change 1975233 by jatang@jatang_win_pal_lc on 2019/07/29 15:52:54
SWDEV-1 - Integrate new khronos tree structure.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#14 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#20 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/build/Makefile.icd#37 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#13 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#12 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#31 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#26 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#10 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#12 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#12 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#6 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.h#2 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_hkr.c#4 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_hkr.h#2 move/delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/icd.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/icd.h#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/icd_dispatch.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/icd_dispatch.h#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/linux/icd_exports.map.in#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/linux/icd_linux.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/OpenCL.def.in#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/OpenCL.rc#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/icd_windows.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/icd_windows_dxgk.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/icd_windows_dxgk.h#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/icd_windows_hkr.c#1 move/add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/loader/windows/icd_windows_hkr.h#1 move/add
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#19 edit


[ROCm/clr commit: 6f8acf9636]
2019-07-29 15:56:57 -04:00
foreman c57f496ee5 P4 to Git Change 1975195 by pghafari@pghafari-gera-win10 on 2019/07/29 14:54:55
SWDEV-197122 - updated cmake for hip-vdi-rorc

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/CMakeLists.txt#2 edit


[ROCm/clr commit: 5a8743f5a7]
2019-07-29 15:01:09 -04:00
foreman 65dbba594d P4 to Git Change 1971654 by kzhuravl@kzhuravl-spot-ocl on 2019/07/22 17:15:57
SWDEV-79445 - Bring cmake related changes from git

	http://git.amd.com:8080/c/compute/ec/opencl/+/229473
	http://git.amd.com:8080/c/compute/ec/opencl/+/229474
	http://git.amd.com:8080/c/compute/ec/opencl/+/233268

	+

	Payam's changes for comgr

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/DEB/postinst#1 add
... //depot/stg/opencl/drivers/opencl/DEB/prerm#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_post#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_postun#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#18 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#3 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCT.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#20 edit


[ROCm/clr commit: 29a575e268]
2019-07-22 17:19:35 -04:00
foreman e373f03ca8 P4 to Git Change 1968653 by marsenau@marsenau-fiji on 2019/07/16 17:57:30
SWDEV-79445 - Don't use amdgizcl. This has been unnecessary for a long time.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#23 edit


[ROCm/clr commit: d5b18e32f4]
2019-07-16 17:59:51 -04:00
foreman 7a8f15e0dc P4 to Git Change 1968449 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/16 13:32:58
SWDEV-79445 - OCL generic changes and code clean-up

	1. Fill out out NULL entries in the cltrace dispatch table with original api calls.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17691/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#21 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/cltrace.cpp#16 edit


[ROCm/clr commit: b88bbb4a04]
2019-07-16 13:40:40 -04:00
foreman 9f63d8a9bf P4 to Git Change 1861672 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/18 17:53:59
SWDEV-79445 - OCL generic changes and code clean-up

	1. Don't modify user passed arguments that should be constant. This saves sanity when debugging.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17567/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#52 edit


[ROCm/clr commit: 505dd1988f]
2019-06-18 18:03:24 -04:00
foreman 70c97967fd P4 to Git Change 1808513 by skudchad@skudchad_rocm on 2019/06/11 14:18:33
SWDEV-189012 - Fix Reg entry from REG_MULTI_SZ to REG_SZ to conform to Khronos standard. The installer has to be fixed next

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#5 edit


[ROCm/clr commit: 5070cfe55d]
2019-06-12 06:00:45 -04:00
foreman 63f0d80f2f P4 to Git Change 1789157 by vsytchen@vsytchen-remote-ocl-win10 on 2019/05/29 16:23:11
SWDEV-185452 - Offline compilation failing on a VM, producing error CL_PLATFORM_NOT_FOUND_KHR

	1. Don't load a platform if there are no devices available for it. If there is no platform that has visible devices, only allow the PAL platform to load.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17419/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#309 edit


[ROCm/clr commit: ecfcea6c1d]
2019-05-29 17:27:48 -04:00
foreman b623ce4eb2 P4 to Git Change 1789084 by skudchad@skudchad_test2_win_opencl on 2019/05/29 14:48:38
SWDEV-189012 - Fix Reg entry from REG_MULTI_SZ to REG_SZ to conform to Khronos standard. The installer has to be fixed next

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_hkr.c#3 edit


[ROCm/clr commit: 8e08c3302b]
2019-05-29 15:45:17 -04:00
foreman 6a21041718 P4 to Git Change 1789054 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/29 14:02:50
SWDEV-190565 - [HIP] Don't use clSetEventWaitList and just add the event to the list in HIP.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#24 edit


[ROCm/clr commit: 3778512463]
2019-05-29 14:38:26 -04:00
foreman 06d85e7f14 P4 to Git Change 1788987 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/29 11:44:11
SWDEV-190565 - [HIP] Relaxed the event wait list condition on context matching

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#23 edit


[ROCm/clr commit: a410dec4c7]
2019-05-29 12:11:49 -04:00
foreman 1a70f8e11f P4 to Git Change 1781985 by gandryey@gera-win10 on 2019/05/13 11:54:40
SWDEV-189140 - Add P2P support in PAL path
	- PAL requires P2P resource open on the usage device. Add the new interface to open the resource
	- Add a hidden P2P device object creation into amd::Memory. It can be activated with OCL context that has a single device.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#337 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#136 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#306 edit


[ROCm/clr commit: 523b233cb0]
2019-05-13 12:19:10 -04:00
foreman f99b6a99d9 P4 to Git Change 1760530 by todli@todli-win-opencl-kv1 on 2019/03/22 17:00:25
SWDEV-182808 - Prevent ICD from loading outdated amdocl binary
	1. Keep track of library name in KHRicdVendorRec
	2. Check if library with the same name has already been loaded before adding it in ICD list

	http://ocltc.amd.com/reviews/r/16989/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#11 edit


[ROCm/clr commit: be5b5d86c3]
2019-03-22 18:24:01 -04:00
foreman 53fce508aa P4 to Git Change 1759227 by gandryey@gera-w8 on 2019/03/20 17:50:27
SWDEV-79445 - OCL generic changes and code clean-up
	- Add 101010 support for DX11 interop

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#27 edit


[ROCm/clr commit: f21b3a1b92]
2019-03-20 18:49:57 -04:00
foreman f5c48c6759 P4 to Git Change 1759096 by todli@todli-win-opencl-kv1 on 2019/03/20 15:07:10
SWDEV-165960 - Add check for duplicate vendors of different libraries using vendor suffix after vendor info is loaded from library

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#11 edit


[ROCm/clr commit: 21ecd9c93a]
2019-03-20 15:34:56 -04:00
foreman b0f3fd3641 P4 to Git Change 1753206 by kzhuravl@bos-10-kzhuravl-sc on 2019/03/07 21:36:25
SWDEV-125823 - Use ccache if ROCM_OPENCL_CCACHE_BUILD=ON

	This is a preparation for enabling ccache in our Jenkins jobs.

	Change-Id: I3d0ae3fbf0f14afdd828fc51120f24b130ee105d

	Reviewed and tested: http://git.amd.com:8080/c/compute/ec/opencl/+/208573

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#22 edit


[ROCm/clr commit: 435401ceb7]
2019-03-07 21:52:47 -05:00
foreman c7cad24a0e P4 to Git Change 1738908 by gandryey@gera-w8 on 2019/02/01 11:59:05
SWDEV-79445 - OCL generic changes and code clean-up
	- Separate DVR and Adobe interop paths for RGB101010 format

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#63 edit


[ROCm/clr commit: 82c35fce20]
2019-02-01 12:38:48 -05:00
foreman 8cec62f4b5 P4 to Git Change 1732709 by gandryey@gera-w8 on 2019/01/18 14:18:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Add  101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit


[ROCm/clr commit: 0b466ae6ff]
2019-01-18 14:41:37 -05:00