foreman
63f4e91651
P4 to Git Change 1861649 by slinder1@slinder1-fiji-ocllc on 2019/06/18 17:25:38
...
SWDEV-161424 - Back out changelist 1853517
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#28 edit
[ROCm/clr commit: 0d465d1193 ]
2019-06-18 17:37:24 -04:00
foreman
db1c604b37
P4 to Git Change 1853517 by slinder1@slinder1-fiji-ocllc on 2019/06/17 19:03:17
...
SWDEV-161424 - Always enable and collect Comgr logging
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#27 edit
[ROCm/clr commit: 8b83743297 ]
2019-06-17 19:10:33 -04:00
foreman
d053a5085d
P4 to Git Change 1826839 by slinder1@slinder1-fiji-ocllc on 2019/06/13 19:19:49
...
SWDEV-187290 - Update to new Comgr option handling
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#94 edit
[ROCm/clr commit: 21632e20a0 ]
2019-06-14 07:15:00 -04:00
foreman
83aa87b611
P4 to Git Change 1792742 by gandryey@gera-win10 on 2019/06/06 11:13:45
...
SWDEV-79445 - OCL generic changes and code clean-up
- Update COMGR loader to avoid the build with device layers
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#244 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#25 edit
[ROCm/clr commit: 3610972765 ]
2019-06-06 11:45:30 -04:00
foreman
bda9548516
P4 to Git Change 1790483 by msearles@aoc-1666-2 on 2019/05/31 18:06:01
...
SWDEV-187169 - Hotel Lobby scene takes long time to compile
Patch authored by Valery Pykhtin.
Remove " -mllvm -amdgpu-early-inline-all", from the options passed
to the compiler; option interferes with function call support.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#44 edit
[ROCm/clr commit: 7031f19aca ]
2019-05-31 18:29:57 -04:00
foreman
57ba75bac1
P4 to Git Change 1790162 by wchau@wchau_OCL_boltzmann on 2019/05/31 10:46:27
...
SWDEV-162389 - OpenCL Support for COMgr
- direct the COMgr log to buildLog_ buffer
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#43 edit
[ROCm/clr commit: 4731a734bd ]
2019-05-31 10:55:14 -04:00
foreman
f0480e79ce
P4 to Git Change 1787806 by yaxunl@yaxunl-lc10 on 2019/05/27 10:53:56
...
SWDEV-145570 - Support loading fat binary generated through --genco by hipModuleLoad.
hip-clang --genco generates fat binary instead of code object. To support that
we need to extract code object from fat binary in hipModuleLoadData. This is
needed for hipRTC since multiple GPU archs may be passed.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#308 edit
[ROCm/clr commit: c166e2513c ]
2019-05-27 20:11:08 -04:00
foreman
e7bed47853
P4 to Git Change 1768486 by wchau@wc_hip_vdi on 2019/04/11 10:57:40
...
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
- Fixed issue to support V2 kernel objects
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#41 edit
[ROCm/clr commit: 748429b9ba ]
2019-04-11 11:13:22 -04:00
foreman
959a60b91c
P4 to Git Change 1768245 by wchau@wchau_OCL_Linux on 2019/04/10 22:01:33
...
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
- Fixed the missing support of Printf for CO v3
- Added back the flag to disable CO v3 for the non-COMGR environment
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#40 edit
[ROCm/clr commit: 90271b9b75 ]
2019-04-10 22:15:35 -04:00
foreman
d1f62b92c1
P4 to Git Change 1767752 by wchau@wchau_OCL_Linux on 2019/04/09 22:58:03
...
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
- Add support for the V3 code objects
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#336 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/inc/core/palCmdBuffer.h#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9ComputeCmdBuffer.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#103 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#47 edit
[ROCm/clr commit: 36a5f2a85f ]
2019-04-09 23:24:10 -04:00
foreman
0b1556055d
P4 to Git Change 1765557 by gandryey@gera-w8 on 2019/04/03 16:52:57
...
SWDEV-79445 - OCL generic changes and code clean-up
- More changes to make sure runtime and LC could be built separately
Affected files ...
... //depot/stg/opencl/drivers/opencl/Makefile#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#73 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#88 edit
[ROCm/clr commit: ff07325e31 ]
2019-04-03 17:09:09 -04:00
foreman
3bfdbccaa1
P4 to Git Change 1764730 by asalmanp@asalmanp-ocl-stg on 2019/04/02 11:18:14
...
SWDEV-132899 - [OCL][GFX10] Link correct wavefrontsize64 function in non-comgr path
ReviewBoardURL = http://ocltc.amd.com/reviews/r/17069/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#37 edit
[ROCm/clr commit: 7cd51d2386 ]
2019-04-02 12:03:04 -04:00
foreman
12ffdec373
P4 to Git Change 1760618 by slinder1@slinder1-fiji-ocllc on 2019/03/22 19:25:25
...
SWDEV-155806 - Dump preprocessed source
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#22 edit
[ROCm/clr commit: 34e984bd89 ]
2019-03-22 20:13:50 -04:00
foreman
64bf2c8607
P4 to Git Change 1758488 by asalmanp@asalmanp-ocl-stg on 2019/03/19 15:18:18
...
SWDEV-132899 - [OCL][GFX10] add "wavefrontsize64" to the linkOptions if they had previously been added to the compile options
ReviewRequestURL = http://ocltc.amd.com/reviews/r/16966/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#71 edit
[ROCm/clr commit: 46ffad2bc5 ]
2019-03-19 15:43:32 -04:00
foreman
2f3d7694c1
P4 to Git Change 1757990 by asalmanp@asalmanp-ocl-stg on 2019/03/18 21:40:52
...
SWDEV-132899 - [OCL][GFX10] passing "force-wgp-mode" option to Finalizer to enable WGP mode by default on gfx10+
and allow GPU_ENABLE_WGP_MODE to control the WGP/CU mode for HSAIL/SC path as well.
- also for Ariel (Navi10Lite) the wave32 should be disabled in LC but allow GPU_ENABLE_WAVE32_MODE control it for testing if needed.
ReviewrequestURL = http://ocltc.amd.com/reviews/r/16926/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#70 edit
[ROCm/clr commit: 0aa5b591fc ]
2019-03-18 21:59:50 -04:00
foreman
f631807d6c
P4 to Git Change 1757879 by wchau@wchau_OCL_boltzmann on 2019/03/18 16:14:33
...
SWDEV-168145 - Add ECC target feature to OpenCL runtime
- passing the sram-ecc option when using COMGR
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#33 edit
[ROCm/clr commit: 5aae5461c3 ]
2019-03-18 17:07:24 -04:00
foreman
7ab9e3a5c2
P4 to Git Change 1756596 by slinder1@slinder1-fiji-ocllc on 2019/03/14 15:19:56
...
SWDEV-79445 - Extend buildlog handling in Comgr path
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#19 edit
[ROCm/clr commit: 077970019b ]
2019-03-14 17:09:48 -04:00
foreman
b798805a45
P4 to Git Change 1753587 by smekhano@stas-msdn-pluto-ocl on 2019/03/08 14:20:41
...
SWDEV-79445 - compiler dumps were damaged on Windows
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#31 edit
[ROCm/clr commit: ea146a3c5d ]
2019-03-08 14:45:57 -05:00
foreman
afe44664ef
P4 to Git Change 1753035 by wchau@wchau_OCL_Linux on 2019/03/07 15:02:39
...
SWDEV-182054 - Allow building OpenCL-Runtime with COMGR enabled without OpenCL-Driver being present
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#184 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#335 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#100 edit
[ROCm/clr commit: e51a27e182 ]
2019-03-07 15:48:33 -05:00
foreman
13bce0fbf5
P4 to Git Change 1752541 by wchau@wchau_OCL_Linux on 2019/03/06 17:02:07
...
SWDEV-168145 - Add ECC target feature to OpenCL runtime
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#334 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#99 edit
[ROCm/clr commit: 5195305426 ]
2019-03-06 17:52:14 -05:00
foreman
42b57b51ab
P4 to Git Change 1744640 by wchau@wchau_OCL_boltzmann on 2019/02/15 11:28:47
...
SWDEV-176282 - FP16_MatrixTranspose is failing on NAVI10/VEGA10 PAL/LC path:wq
- add COMGR logging support to show the build log
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#16 edit
[ROCm/clr commit: 5ab68dc87b ]
2019-02-15 12:26:57 -05:00
foreman
489260bb0d
P4 to Git Change 1727059 by asalmanp@asalmanp-ocl-stg on 2019/01/07 17:48:44
...
SWDEV-132899 - [OCL][GFX10] report number of WGP by default on gfx10 ASICs
Both HSAIL/SC and LC compilers use WGP mode by default on gfx10 ASICs (i.e., COMPUTE_PGM_RSRC1.WGP_MODE is set to 1 by both compilers) therefore runtime should report number of WGP (i.e., CU/2) on gfx10 ASICs by default.
The new environment variable (GPU_ENABLE_WGP_MODE = 0) can be used to force CU mode on LC (i.e., -mcumode option) if its needed (HSAIL/SC doesn't have any compiler option for forcing the CU mode)
Also, using the new environment variable (GPU_ENABLE_WAVE32_MODE) to control the wave32 mode on gfx10+.
ReviewRequestURL = http://ocltc.amd.com/reviews/r/16435/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#329 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#301 edit
[ROCm/clr commit: e631b3978f ]
2019-01-07 18:02:10 -05:00
foreman
aa1de227ce
P4 to Git Change 1726335 by wchau@wchau_OCL_boltzmann on 2019/01/04 14:53:36
...
SWDEV-174898 - OCL Runtime kernel metadata lookup requires quadratic time
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#49 edit
[ROCm/clr commit: 2b92421194 ]
2019-01-04 15:06:29 -05:00
foreman
aa365b3f4c
P4 to Git Change 1725088 by wchau@wchau_OCL_boltzmann on 2019/01/02 13:45:33
...
SWDEV-175381 - OCL Runtime produces invalid names for bitcode data objects
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#25 edit
[ROCm/clr commit: 77c9dda5ba ]
2019-01-02 14:22:04 -05:00
foreman
6f1583e3be
P4 to Git Change 1723529 by lmoriche@lmoriche_opencl_dev2 on 2018/12/21 14:55:55
...
SWDEV-174895 - OCL generic changes and code clean-up
- Rename the AMDGCN builtins libraries to be compatible with comgr.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/comgr/lib/comgr/src/comgr-device-libs.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#17 edit
[ROCm/clr commit: 0b238e4420 ]
2018-12-21 15:24:27 -05:00
foreman
67c2cbe7fb
P4 to Git Change 1721185 by wchau@wchau_OCL_boltzmann on 2018/12/17 13:43:56
...
SWDEV-162389 - OpenCL Support for COMgr
- fixing bug of using incorrect included header file name
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#23 edit
[ROCm/clr commit: e40b93484f ]
2018-12-17 14:02:16 -05:00
foreman
76a6bacd22
P4 to Git Change 1720254 by wchau@wchau_OCL_boltzmann on 2018/12/13 20:24:53
...
SWDEV-162389 - OpenCL Support for COMgr
- fixing two bugs that (1) destroying an non-existant comgr object, (2) missing "+xnack" in target triple for Raven
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#47 edit
[ROCm/clr commit: 57f2e64df3 ]
2018-12-13 20:36:31 -05:00
foreman
22892fad58
P4 to Git Change 1720088 by gandryey@gera-w8 on 2018/12/13 14:29:40
...
SWDEV-162389 - Switch to dynamic COMGR load
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#181 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#240 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#328 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#104 edit
[ROCm/clr commit: f33100cf45 ]
2018-12-13 15:22:06 -05:00
foreman
59ab6c9f5d
P4 to Git Change 1719380 by gandryey@gera-ocl-lc on 2018/12/12 13:37:56
...
SWDEV-79445 - OCL generic changes and code clean-up
- Reenable some options in the compilation code.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#20 edit
[ROCm/clr commit: 9be10558eb ]
2018-12-12 13:48:23 -05:00
foreman
4c62a197f2
P4 to Git Change 1718337 by gandryey@gera-w8 on 2018/12/10 15:30:30
...
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#327 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#101 edit
[ROCm/clr commit: e643f0bc00 ]
2018-12-10 15:49:24 -05:00
foreman
7bbd0000da
P4 to Git Change 1717849 by gandryey@gera-w8 on 2018/12/07 18:26:42
...
SWDEV-162389 - Back out changelist 1717839 due to a weird link error in LiquidFlash for LC Windows build only
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#326 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#100 edit
[ROCm/clr commit: fd43c4fbfd ]
2018-12-07 18:41:56 -05:00
foreman
158b231836
P4 to Git Change 1717839 by gandryey@gera-w8 on 2018/12/07 17:54:13
...
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#325 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#247 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#99 edit
[ROCm/clr commit: 03d5d4b485 ]
2018-12-07 18:30:39 -05:00
foreman
df097687e1
P4 to Git Change 1711343 by gandryey@gera-ocl-lc on 2018/11/23 15:00:30
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix kernel compilation with COMgr. CodeobjectV3 has to be disabled during the kernel compilation also, not just linking.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#16 edit
[ROCm/clr commit: 0a284d5913 ]
2018-11-23 15:11:58 -05:00
foreman
9febb40f6f
P4 to Git Change 1710968 by gandryey@gera-ocl-lc on 2018/11/22 18:20:03
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix compile erros with COMgr in Windows
- Switch to different library interface to match the COMgr requirement
Affected files ...
... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#15 edit
[ROCm/clr commit: 74996d53a1 ]
2018-11-22 18:27:11 -05:00
foreman
fe73459442
P4 to Git Change 1710776 by wchau@wchau_OCL_boltzmann on 2018/11/22 12:54:51
...
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#45 edit
[ROCm/clr commit: 8bce4926b3 ]
2018-11-22 14:04:51 -05:00
foreman
796c1b5987
P4 to Git Change 1708308 by wchau@wchau_OCL_boltzmann on 2018/11/16 14:01:10
...
SWDEV-167383 - [OCL]: Switch to new object format
- Disable code object v3 for blit programs
- Porting the changes made by Konstantin (http://git.amd.com:8080/#/c/187605 )
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#13 edit
[ROCm/clr commit: 7265b71a1c ]
2018-11-16 14:10:39 -05:00
foreman
066de286b2
P4 to Git Change 1702548 by wchau@wchau_OCL_boltzmann on 2018/11/05 14:14:59
...
SWDEV-162389 - OpenCL Support for COMgr
- currently COMgr library does not support gfx10+
- to build the OCL driver with the COMgr support, add an COMGR_DIR option for the MAKE command
- the COMGR_DIR specifies the directory that contains the COMgr header file, "include/amd_comgr.h", and library, "lib/libamd_comgr.so"
NOTE: check in the codes to unblock German's work for now, codes will be modified to handle HSAIL and LC paths dynamically.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#176 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#94 edit
[ROCm/clr commit: 9c877959f6 ]
2018-11-05 14:24:49 -05:00
foreman
77ed85a2e8
P4 to Git Change 1619908 by wchau@wchau_OCL_cmake on 2018/10/16 14:08:33
...
SWDEV-167383 - [OCL]: Switch to new object format
- Add flag to disable Ver 3 Object format until it is support by OCL
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#11 edit
[ROCm/clr commit: 4ef369958b ]
2018-10-18 09:36:36 -04:00
foreman
5787f03993
P4 to Git Change 1613773 by gandryey@gera-w8 on 2018/10/02 18:37:59
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up:
- Remove !defined(WITH_LIGHTNING_COMPILER), but appprofiler still requires more changes.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#38 edit
[ROCm/clr commit: 8ee6142811 ]
2018-10-02 18:50:36 -04:00
foreman
78685f7482
P4 to Git Change 1613522 by gandryey@gera-ocl-lc on 2018/10/02 11:44:38
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#7:
- Introduce a new key to control the compilation path dynamically
- InitBuild/finiBuild clean-up
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#245 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#299 edit
[ROCm/clr commit: d219d45f7d ]
2018-10-02 11:52:23 -04:00
foreman
dc9db4eb3e
P4 to Git Change 1611775 by gandryey@gera-ocl-lc on 2018/09/27 18:02:54
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#6:
- Move the second linkImpl() method to the abstraciton layer
- Create the new setKernel virtual interface for the backend specific setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#320 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#40 edit
[ROCm/clr commit: 8bbcc1c38a ]
2018-09-27 18:15:24 -04:00
foreman
ef66c429a4
P4 to Git Change 1611613 by gandryey@gera-w8 on 2018/09/27 12:54:08
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#5:
- Move the first linkImpl() method to the abstraciton layer. Utilize the new method in GPU/PAL/ROCr backends
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#244 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#39 edit
[ROCm/clr commit: e428107060 ]
2018-09-27 13:10:59 -04:00
foreman
e2a6a8e8ba
P4 to Git Change 1610640 by gandryey@gera-w8 on 2018/09/25 17:34:09
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#4:
- Add common method FindGlobalVarSize() and metadata setup to the abstraction layer
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#38 edit
[ROCm/clr commit: 40bfc4cf20 ]
2018-09-25 17:47:26 -04:00
foreman
addd208e25
P4 to Git Change 1610376 by gandryey@gera-w8 on 2018/09/25 11:50:37
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix HIP failures
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#5 edit
[ROCm/clr commit: 90339a205f ]
2018-09-25 12:03:21 -04:00
foreman
7cf7b1d6eb
P4 to Git Change 1610362 by gandryey@gera-w8 on 2018/09/25 11:39:08
...
SWDEV-79445 - OCL generic changes and code clean-up
- Attempt to fix HIP failures with VDI/ROCm
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#4 edit
[ROCm/clr commit: dfe166ffc1 ]
2018-09-25 11:48:56 -04:00
foreman
0821f2167f
P4 to Git Change 1610043 by gandryey@gera-w8 on 2018/09/24 18:08:36
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#3:
- Move getCompilationStagesFromBinary and getNextCompilationStageFromBinary to the abstraction layer.
- Share the same functionality across GSL, PAL and ROCr backends
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#243 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#37 edit
[ROCm/clr commit: dee2f4bd71 ]
2018-09-24 18:21:56 -04:00
foreman
1238139fab
P4 to Git Change 1608319 by gandryey@gera-lnx-rcf-lc on 2018/09/19 16:55:11
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#2:
- Combine PAL and ROCr implementations of compilation under common methods in device::Program for HSAIL and LC.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#319 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#26 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#46 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#36 edit
[ROCm/clr commit: e132af9cad ]
2018-09-19 17:06:20 -04:00
foreman
bc0ac6bd43
P4 to Git Change 1607675 by gandryey@gera-w8 on 2018/09/18 18:42:34
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Step#1:
- Move device::Program implementation into a separate file
- Combine the common fields accros all 3 layers into the abstract device::Program
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#230 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#318 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#159 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#35 edit
[ROCm/clr commit: 0253c1afb3 ]
2018-09-18 18:53:08 -04:00