foreman
b606210d59
P4 to Git Change 1624606 by asalmanp@asalmanp-ocl-stg on 2018/10/26 13:57:59
...
SWDEV-132899 - [OCL] use the new "numAvailableCus" property from PAL which has the correct number of total available CUs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16060/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#114 edit
[ROCm/clr commit: a4c1b1b9d3 ]
2018-10-26 14:08:34 -04:00
foreman
105c5ad3fd
P4 to Git Change 1622418 by gandryey@gera-w8 on 2018/10/22 17:03:57
...
SWDEV-79445 - OCL generic changes and code clean-up
- Don't disable the trace if start occurred on a queue, which didn't generate a preparation. That should fix random timeouts and still keep trace commands in order.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#10 edit
[ROCm/clr commit: 697488de5b ]
2018-10-22 17:15:40 -04:00
foreman
15c7dadf56
P4 to Git Change 1622391 by gandryey@gera-w8 on 2018/10/22 16:33:17
...
SWDEV-79445 - OCL generic changes and code clean-up
- Remove detection of the global memory usage, based on the names of variables
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#82 edit
[ROCm/clr commit: 8a8f11369e ]
2018-10-22 16:46:17 -04: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
07cd36bbd0
P4 to Git Change 1619397 by gandryey@gera-w8 on 2018/10/15 18:23:10
...
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
- Add the barrier's reason to the RGP trace
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#57 edit
[ROCm/clr commit: 9bad9b4d54 ]
2018-10-18 07:34:23 -04:00
foreman
1f6a902aaa
P4 to Git Change 1619186 by gandryey@gera-w8 on 2018/10/15 13:38:18
...
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
- Fix SQTT tockets update when multiple queues are captured
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#56 edit
[ROCm/clr commit: 55e3c896aa ]
2018-10-18 06:41:29 -04:00
foreman
93e25f8df9
P4 to Git Change 1614278 by wchau@wchau_OCL_cmake on 2018/10/03 21:04:41
...
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
(Resubmitted CL1613181 with a bug fix)
- porting CMAKE changes in http://git.amd.com:8080/#/c/173995/
- add new source file names in runtime/CMakeLists.txt
-- required additional changes of CMAKE files from Konstantin to build the current OCL driver using CMAKE
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#15 edit
[ROCm/clr commit: 24437ae9d9 ]
2018-10-03 21:26:10 -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
00e9f77b2e
P4 to Git Change 1613598 by gandryey@gera-w8 on 2018/10/02 14:25:19
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix a crash with Unity, during RGP capture. Keep local size as 1 if the app didn't provide any
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#126 edit
[ROCm/clr commit: 0416a223bb ]
2018-10-02 14:37:16 -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
bb8e21d5b2
P4 to Git Change 1613229 by wchau@wchau_OCL_cmake on 2018/10/01 15:12:47
...
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
- Back out changelist 1613181 as it causes TC build failures
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#14 edit
[ROCm/clr commit: 77da86d984 ]
2018-10-01 15:35:29 -04:00
foreman
b3bc505946
P4 to Git Change 1613181 by wchau@wchau_OCL_cmake on 2018/10/01 14:34:03
...
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
- porting CMAKE changes in http://git.amd.com:8080/#/c/173995/
- add new source file names in runtime/CMakeLists.txt
-- required additional changes of CMAKE files from Konstantin to build the current OCL driver using CMAKE
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#13 edit
[ROCm/clr commit: 0d5e7c39e2 ]
2018-10-01 15:09:26 -04:00
foreman
7b1df3bf4d
P4 to Git Change 1613081 by gandryey@gera-w8 on 2018/10/01 12:28:29
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix ROCr LC compilation. Remove the binary look-up from the cl object, since it's passed in the method arguments.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#92 edit
[ROCm/clr commit: bc6be55a52 ]
2018-10-01 12:53:06 -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
c4c871ba6c
P4 to Git Change 1611614 by wchau@wchau_OCL_boltzmann on 2018/09/27 12:54:16
...
SWDEV-164014 - OCLPerfCounters results in "LLVM ERROR: out of memory"
- use generic hsa_ven_amd_aqlprofile_pfn_t to point to extension function table
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.hpp#3 edit
[ROCm/clr commit: 5616270bbd ]
2018-09-27 13:15:51 -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
7edb3642a2
P4 to Git Change 1611191 by wchau@wchau_OCL_boltzmann on 2018/09/26 17:00:31
...
SWDEV-164014 - OCLPerfCounters results in "LLVM ERROR: out of memory"
- replace deprecated 'hsa_system_get_extension_table()' call with 'hsa_system_get_major_extension_table() with table size of “hsa_ven_amd_aqlprofile_1_00_pfn_t”
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.hpp#2 edit
[ROCm/clr commit: b1eed992e1 ]
2018-09-26 17:14:11 -04:00
foreman
dfe67fa6da
P4 to Git Change 1611180 by gandryey@gera-ocl-lc on 2018/09/26 16:54:02
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix Ellesmere compilation with LC path. Switch to multiple device info fields to support LC and HSAIL at the same time
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#33 edit
[ROCm/clr commit: 42e7f37f69 ]
2018-09-26 17:10:57 -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
17234d5abb
P4 to Git Change 1610625 by gandryey@gera-w8 on 2018/09/25 17:00:40
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix RGP capture. Add the engine mask.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#7 edit
[ROCm/clr commit: f24fdb6d53 ]
2018-09-25 17:14:51 -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
c5b9715a6b
P4 to Git Change 1608975 by gandryey@gera-w8 on 2018/09/20 18:14:01
...
SWDEV-79445 - OCL generic changes and code clean-up
Program compilation clean-up. Follwoing CL#1608319:
- Switch HSAIL GSL path to the common compilation method
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#160 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#168 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#332 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#74 edit
[ROCm/clr commit: dbe7f3201d ]
2018-09-20 18:26:16 -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
foreman
c1913716c2
P4 to Git Change 1607596 by jatang@jatang_win_pal_lc on 2018/09/18 16:37:51
...
SWDEV-126897 - Remove calling setDynamicParallelFlag() from submitKernelInternal() in LC/ROCm path.
For LC, setDynamicParallelFlag() is now called at Kernel::InitParameters().
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#69 edit
[ROCm/clr commit: f8e1706822 ]
2018-09-18 16:47:41 -04:00
foreman
ebe30e5da9
P4 to Git Change 1607329 by jatang@jatang_win_pal_lc on 2018/09/18 10:34:41
...
SWDEV-148809 - Device Enqueue on LC/PAL.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#55 edit
[ROCm/clr commit: 41facdb089 ]
2018-09-18 10:42:05 -04:00
foreman
62f0035220
P4 to Git Change 1605680 by gandryey@gera-ocl-lc on 2018/09/13 19:07:27
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix test_basic progvar_prog_scope_uninit with LC. Detect global variables usage in the program and add the code object allocation to the memory dependency tracking
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#123 edit
[ROCm/clr commit: 45fb4ac8f6 ]
2018-09-13 19:25:30 -04:00
foreman
320bfd429b
P4 to Git Change 1605385 by gandryey@gera-w8 on 2018/09/13 11:53:28
...
SWDEV-79445 - OCL generic changes and code clean-up
- Don't call backing store destruction if segment wasn't created at all. It could occur during library link.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#26 edit
[ROCm/clr commit: 55cf1727b2 ]
2018-09-13 12:03:30 -04:00
foreman
9cd6136461
P4 to Git Change 1605085 by skudchad@skudchad_test2_win_opencl on 2018/09/12 17:44:09
...
SWDEV-145570 - [HIP] - Enable largest possible allocation on HIP
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15803/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#56 edit
[ROCm/clr commit: c35c82f394 ]
2018-09-12 17:55:29 -04:00
foreman
a2af1d68ae
P4 to Git Change 1604422 by gandryey@gera-ocl-lc on 2018/09/11 16:51:04
...
SWDEV-79445 - OCL generic changes and code clean-up
- Don't call backing store destruction for Null programs
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#25 edit
[ROCm/clr commit: 9bb9312630 ]
2018-09-11 17:08:39 -04:00
foreman
b7ec7ccfb7
P4 to Git Change 1604296 by jatang@jatang-opencl-hsa-stg5 on 2018/09/11 14:13:12
...
SWDEV-126897 - Fix a regression of Device Enqueue in LC path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#6 edit
[ROCm/clr commit: e615155636 ]
2018-09-11 14:37:55 -04:00
foreman
3f05dba83f
P4 to Git Change 1603998 by eboumaou@eboumaou_ugl_stg on 2018/09/11 03:45:45
...
SWDEV-164509 - [Dassault][Catia] Adding 8-bits internal format support for sL8 format in OpenGL
For glTextureView support, GL_LUMINANCE8 internal format needs to return 8_BITS view compatibility class.
Add 3 new surface formats, CM_SURF_FMT_L8_SRGB, CM_SURF_FMT_R8_SRGB and CM_SURF_FMT_RG8_SRGB. For the moment, only L8_SRGB is supported by GLL.
Keep L8_X24_SRGB format because of side effects, especially outside the GL driver (CAL)
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15757/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#32 edit
[ROCm/clr commit: 8914124cc8 ]
2018-09-11 03:58:48 -04:00
foreman
9e9f191c98
P4 to Git Change 1603686 by lmoriche@lmoriche_opencl_dev2 on 2018/09/10 14:36:15
...
SWDEV-1 - Cleanups required to build with gcc-5.4
- Fix the Windows build
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#5 edit
[ROCm/clr commit: bda4d20a58 ]
2018-09-10 15:02:41 -04:00
foreman
73b444c681
P4 to Git Change 1603633 by lmoriche@lmoriche_opencl_dev2 on 2018/09/10 13:24:30
...
SWDEV-1 - Cleanups required to build with gcc-5.4
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/support/libcxx/build/Makefile.libcxx#7 edit
[ROCm/clr commit: fea536eea4 ]
2018-09-10 13:33:24 -04:00
foreman
08dd8e0f64
P4 to Git Change 1603601 by jatang@jatang-opencl-hsa-stg5 on 2018/09/10 11:55:05
...
SWDEV-126897 - Fix segfault in HSAIL/ROCm path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#68 edit
[ROCm/clr commit: 03e6266c64 ]
2018-09-10 12:09:51 -04:00
foreman
bae6f34b08
P4 to Git Change 1603595 by gandryey@gera-ocl-lc on 2018/09/10 11:45:44
...
SWDEV-79445 - OCL generic changes and code clean-up
- Make a fallback to system memory without device access if USWC allocation failed
- Destroy the backing store after the load of all kernels
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#24 edit
[ROCm/clr commit: 8e02d82368 ]
2018-09-10 11:57:07 -04:00
foreman
787fdc49a3
P4 to Git Change 1602604 by gandryey@gera-ocl-lc on 2018/09/06 15:25:43
...
SWDEV-79445 - OCL generic changes and code clean-up
- Combine opencl compiler options under a single function.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#317 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#17 edit
[ROCm/clr commit: 1d5f2b6dac ]
2018-09-06 15:37:37 -04:00
foreman
c1e0ad299d
P4 to Git Change 1602019 by marsenau@marsenau-fiji on 2018/09/05 14:33:40
...
SWDEV-79445 - Remove use of irif.
This is now directly linked in the library build and will be
removed as a standalone library.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#83 edit
[ROCm/clr commit: 1380df62d9 ]
2018-09-05 14:45:11 -04:00
foreman
4208e8e04b
P4 to Git Change 1601829 by marsenau@marsenau-fiji on 2018/09/05 09:00:19
...
SWDEV-79445 - Stop using -opencl component of triple. This
hasn't been needed in a while.
Also stop redundantly defining extension macros.
Affected files ...
... //depot/stg/opencl/drivers/opencl/opencldefs#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#43 edit
[ROCm/clr commit: b0396b47e1 ]
2018-09-05 09:11:51 -04:00
foreman
29c39ade39
P4 to Git Change 1601516 by asalmanp@asalmanp-ocl-stg on 2018/09/04 16:37:05
...
SWDEV-132899 - [OCL][GFX10.1] Adding gfx1010 support and use Pal::GfxIpLevel::GfxIp10_1/Pal::AsicRevision::Navi10 for gfx1010 and Pal::GfxIpLevel::GfxIp10/Pal::AsicRevision::Navi10Lite for Ariel (gfx1000)
ReviewRequestURL = http://ocltc.amd.com/reviews/r/15740/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#240 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#54 edit
[ROCm/clr commit: 42f5788b2e ]
2018-09-04 16:57:45 -04:00
foreman
dd5aa956a1
P4 to Git Change 1601331 by jatang@jatang_rocm_lc2 on 2018/09/04 11:32:49
...
SWDEV-126897 - Use the new __amd_scheduler_rocm.
It's only a name change.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocschedcl.cpp#2 edit
[ROCm/clr commit: 6ffc12c7c8 ]
2018-09-04 11:42:41 -04:00
foreman
d5f3e9341f
P4 to Git Change 1600140 by gandryey@gera-w8 on 2018/08/30 15:10:58
...
SWDEV-79445 - OCL generic changes and code clean-up
- It's not necessary to have backend specific binary objects in HSAIL or LC paths.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#228 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#4 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#7 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#33 edit
[ROCm/clr commit: 5c4478fa22 ]
2018-08-30 15:31:56 -04:00
foreman
5467692316
P4 to Git Change 1600013 by gandryey@gera-w8 on 2018/08/30 11:12:14
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix a typo from CL#1599699
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#5 edit
[ROCm/clr commit: 03a81d46b7 ]
2018-08-30 11:27:16 -04:00
foreman
ad1839e9ee
P4 to Git Change 1599701 by gandryey@gera-w8 on 2018/08/29 18:48:36
...
SWDEV-79445 - OCL generic changes and code clean-up
- Use SDMA staging transfers for data upload if pinning fails. Fixes HIP failure in a test that uses the code segment data for uppload.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#26 edit
[ROCm/clr commit: 45d50bb738 ]
2018-08-29 18:57:40 -04:00
foreman
0a5f1257f5
P4 to Git Change 1599699 by gandryey@gera-w8 on 2018/08/29 18:43:02
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move WaveLimiter logic to the abstract layer. PAL version was taken as the base, thus performance of GSL path can be affected by this change
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#315 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devwavelimiter.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/runtime/device/devwavelimiter.hpp#1 move/add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#598 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#331 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#15 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#11 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#107 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#8 move/delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#8 move/delete
[ROCm/clr commit: 6cc75de90f ]
2018-08-29 18:54:19 -04:00
foreman
5f5ea9af64
P4 to Git Change 1599472 by gandryey@gera-w8 on 2018/08/29 12:25:34
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move FindLocalWorkSize() logic to the abstraction layer
- Replace the ROCr path with the common FindLocalWorkSize() functionality
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#227 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#314 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#330 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#67 edit
[ROCm/clr commit: 5ee211e801 ]
2018-08-29 12:35:08 -04:00
foreman
6d60a084ba
P4 to Git Change 1599194 by gandryey@gera-w8 on 2018/08/28 18:38:33
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move printf setup in the kernels to the abstraction layer
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#329 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.hpp#6 edit
[ROCm/clr commit: ef83d84899 ]
2018-08-28 18:48:05 -04:00
foreman
0eb2d36332
P4 to Git Change 1599157 by gandryey@gera-ocl-lc on 2018/08/28 17:11:04
...
SWDEV-79445 - OCL generic changes and code clean-up
- Add devkerenle.cpp/hpp files for device::Kernel object
- Move generic code for the arguments setup from the device layer to the abstraction layer
- Update ROCr and PAL paths to utilize the generic logic for the arguments setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#226 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#313 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#328 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#51 edit
[ROCm/clr commit: 5cfeb120ed ]
2018-08-28 17:30:29 -04:00