Gráfico de Commits

1174 Commits

Autor SHA1 Mensagem Data
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
foreman 323a56ec40 P4 to Git Change 1598525 by gandryey@gera-ocl-lc on 2018/08/27 14:28:05
SWDEV-79445 - OCL generic changes and code clean-up
	- Setup KernelParameterDescriptor directly from the binary's metadata without any intermediate arguments presentation.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#312 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#66 edit


[ROCm/clr commit: 4d46463948]
2018-08-27 14:44:08 -04:00
foreman 1388921e3e P4 to Git Change 1598045 by skudchad@skudchad_test2_win_opencl on 2018/08/24 14:07:44
SWDEV-145570 - [HIP] Output threadID along with kernel info with LOG_LEVEL=3

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#65 edit


[ROCm/clr commit: cf0504da19]
2018-08-24 14:21:35 -04:00
foreman a658f61cb1 P4 to Git Change 1597965 by wchau@wchau_OCL_boltzmann on 2018/08/24 11:07:49
SWDEV-160377 - [OCL][ROCM] Add OpenCL Runtime Support for GFX10 in ROCm - disable XNACK for Navi10 and Ariel

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#19 edit


[ROCm/clr commit: 7384db1dd2]
2018-08-24 11:23:24 -04:00
foreman 81122a4a9d P4 to Git Change 1597023 by vsytchen@vsytchen-win10 on 2018/08/22 15:12:23
SWDEV-159881 - [OCL][ROCm] Add SVM coarse-grain buffer support with device memory

	1. Use the system memory pool for coarse grain allocations on APUs

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#64 edit


[ROCm/clr commit: 1bf70582f0]
2018-08-22 15:25:01 -04:00
foreman f160b50dc6 P4 to Git Change 1596631 by skudchad@skudchad-lnx on 2018/08/21 18:05:06
SWDEV-145570 - [HIP] Fixes incorrect condition. Its not needed

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#106 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#99 edit


[ROCm/clr commit: 96acb578ad]
2018-08-21 18:24:17 -04:00
foreman 509e1424a8 P4 to Git Change 1596548 by axie@axie_win_opencl_laptop on 2018/08/21 15:55:23
SWDEV-161959 - [ROCm QA][RAVEN] QCDGPU-S test is having ERROR -61: (clCreateKernel failed) on RAVEN
	SWDEV-161983 - [ROCm QA][RAVEN] Cachebench test is failing with CL_INVALID_BUFFER_SIZE issue
	SWDEV-161978 - [ROCm QA][RAVEN] PCIeBW is failing on -with error : 61, OpenCL error creating buffer !
	SWDEV-161962 - [ROCm QA][RAVEN] rodinia->nw test has ERROR: clCreateBuffer input_item_set (size:67125249) => -61

	- We make the global memory size at least 1G byte. This is to avoid issue/regression if sysconf API misbehaves.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15660/

	Tests:
	1. ocltst -m oclruntime.so -A oclruntime.exclude - PASS except SVM test (non regression)
	2. TeamCity presubmission test (OpenCL) - PASS
	3. Run test qcdgpu-s.sh : PASS
	4. Run test cachebench-ocl : PASS
	5. Run test PCIeBandwidth -c 0 -g 0 :  PASS
	6. Run test Rodinia/opencl/nw/run : PASS

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#98 edit


[ROCm/clr commit: d886bbdb2c]
2018-08-21 16:16:14 -04:00
foreman a99daf43d0 P4 to Git Change 1596446 by axie@axie_win_opencl_laptop on 2018/08/21 13:40:43
SWDEV-161959 - [ROCm QA][RAVEN] QCDGPU-S test is having ERROR -61: (clCreateKernel failed) on RAVEN
	SWDEV-161983 - [ROCm QA][RAVEN] Cachebench test is failing with CL_INVALID_BUFFER_SIZE issue
	SWDEV-161978 - [ROCm QA][RAVEN] PCIeBW is failing on -with error : 61, OpenCL error creating buffer !
	SWDEV-161962 - [ROCm QA][RAVEN] rodinia->nw test has ERROR: clCreateBuffer input_item_set (size:67125249) => -61

	- Adjust Global memory size as half of the system physical memory size in APU for Rocm
	- Similar to current DGPU calculation, environment GPU_SINGLE_ALLOC_PERCENT can be used to adjust max memory allocation size.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15659/

	Tests:
	1. ocltst -m oclruntime.so -A oclruntime.exclude - PASS except SVM test (non regression)
	2. TeamCity presubmission test (OpenCL) - PASS
	    http://ocltc.amd.com:8111/viewModification.html?modId=106628&personal=true&init=1&tab=vcsModificationBuilds
	3. Run test qcdgpu-s.sh : PASS
	4. Run test cachebench-ocl : PASS
	5. Run test PCIeBandwidth -c 0 -g 0 :  PASS
	6. Run test Rodinia/opencl/nw/run : PASS

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#97 edit


[ROCm/clr commit: f84d1d2d03]
2018-08-21 13:52:31 -04:00
foreman 5fc5595516 P4 to Git Change 1596023 by skudchad@skudchad_test2_win_opencl on 2018/08/20 18:40:38
SWDEV-145570 - [HIP] Fixes to HIP env var logic

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#225 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#311 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#96 edit


[ROCm/clr commit: 26954707a4]
2018-08-20 18:48:00 -04:00
foreman 57d3807f93 P4 to Git Change 1595251 by chui@chui-cnchuiw8-ocl-hsa-stg on 2018/08/17 17:06:54
SWDEV-160930 - Back out CL1594730 as it is failing OCL/LC and HIP tests

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#59 edit


[ROCm/clr commit: c6280baa3c]
2018-08-17 17:52:29 -04:00
foreman 3285fb68a5 P4 to Git Change 1595124 by skudchad@skudchad_test2_win_opencl on 2018/08/17 14:05:25
SWDEV-145570 - [HIP] Implement environment variables and subsequent changes for HIP. This gets hipEnvVar passing

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#224 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#310 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#104 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#297 edit


[ROCm/clr commit: 812ec48f9e]
2018-08-17 14:28:54 -04:00
foreman fed5b102b1 P4 to Git Change 1594730 by asalmanp@asalmanp-ocl-stg on 2018/08/16 17:32:14
SWDEV-160930 - SPECworkstation 3 benchmark GPU Compute tests fail
	Root cause: Caffe compute benchmark fails within SPECWorkstation app because one of the Caffe's OCL kernel tries to launch a kernel with the local_work_size of 1024 causing the clEnqueueNDRangeKernel API to return CL_INVALID_WORK_GROUP_SIZE (i.e., the maximum allowable number is 256)
	Proposed workaround: In order to run a kernel with a local_work_size of 1024, we check the number of used VGPRs in the Kernel and if the Kernel is not using all the available VGPRs we let the Kernel to use 1024 as the local_work_size.

	ReviewURLBoard = http://ocltc.amd.com/reviews/r/15638/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#58 edit


[ROCm/clr commit: 1dcac07a7e]
2018-08-16 17:49:03 -04:00
foreman 9c2c23a3a3 P4 to Git Change 1594574 by vsytchen@vsytchen-win10 on 2018/08/16 13:43:33
SWDEV-159881 - [OCL][ROCm] Add SVM coarse-grain buffer support with device memory (Part 2)

	1. Implement clEnqueueSvmMap/Unmap using a staging buffer
	2. Enable device memory coarse grain SVM for OCL only with single device contexts.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#296 edit


[ROCm/clr commit: 8dcc948d37]
2018-08-16 13:59:59 -04:00
foreman 834d54fac8 P4 to Git Change 1593708 by vsytchen@vsytchen-win10 on 2018/08/14 18:51:20
SWDEV-145570 - [HIP] use IS_HIP variable to determine SVM size

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#103 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#295 edit


[ROCm/clr commit: 3981cc165c]
2018-08-14 19:06:08 -04:00
foreman 8ffad2579c P4 to Git Change 1593119 by skudchad@skudchad_test2_win_opencl on 2018/08/13 16:53:08
SWDEV-145570 - [HIP] Output Kernel name and mem arguments passed with LOG_LEVEL=3 for PAL and ROCm backends

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#62 edit


[ROCm/clr commit: bc3e3217b6]
2018-08-13 17:07:02 -04:00
foreman 7ad3f2f33a P4 to Git Change 1591041 by vsytchen@vsytchen-win10 on 2018/08/08 18:46:17
SWDEV-159881 - [OCL][ROCm] Add SVM coarse-grain buffer support with device memory (Part 1)

	1. Implement submitSvmFree/Copy/FillMemory.
	2. Add macro IS_HIP that determines if the client is HIP.
	3. Add setting enableCoarseGrainSVM that allows the use of device memory for coarse grain SVM allocations.
	4. Set enableCoarseGrainSVM to be true only for HIP.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#294 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#10 edit


[ROCm/clr commit: b33c52ed6f]
2018-08-08 18:58:03 -04:00
foreman b641645bbf P4 to Git Change 1590896 by vsytchen@vsytchen-win10 on 2018/08/08 14:49:41
SWDEV-79445 - OCL generic changes and code clean-up

	1. std::auto_ptr is deprecated in c++11 and removed in c++17. Use unique_ptr instead.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#21 edit


[ROCm/clr commit: ac9ebe294b]
2018-08-08 15:05:57 -04:00
foreman eb836ba642 P4 to Git Change 1590524 by gandryey@gera-lnx-rcf on 2018/08/07 17:38:31
SWDEV-160552 - [CQE OCL][DTB][BD][Perf][QR][G] Soft hang is observed with ProRender after few subtests due to base driver.
	- Reset the pointer to  nullptr if PAL platform was destroyed

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#102 edit


[ROCm/clr commit: 1a61f6b9e5]
2018-08-07 17:56:54 -04:00
foreman 20e1c977c9 P4 to Git Change 1590512 by gandryey@gera-lnx-rcf on 2018/08/07 17:06:25
SWDEV-160552 - [CQE OCL][DTB][BD][Perf][QR][G] Soft hang is observed with ProRender after few subtests due to base driver.
	- Delete PAL platform object if runtime didn't find any supported device.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#101 edit


[ROCm/clr commit: 769cc7cddb]
2018-08-07 17:29:56 -04:00
foreman d4ff3dee52 P4 to Git Change 1589968 by skudchad@skudchad_test2_win_opencl on 2018/08/06 17:25:53
SWDEV-145570 - [HIP] Increase the default size for SVM to 16GB for HIP

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#100 edit


[ROCm/clr commit: aa99feb153]
2018-08-06 17:32:00 -04:00
foreman 4926800fc4 P4 to Git Change 1589476 by axie@axie-rocm-opencl on 2018/08/03 15:54:24
SWDEV-79445 - OCL generic changes and code clean-up
	- Optimize setup of kernel arguments.
	- Add HW ABI support in the abstraction layer
	- Remove arguments parsing loop from the kernel launch. Memory processing will be responsible for dependency tracking and  patching of arguments.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15400/

	Tests:
	1. ./run_conformance.py ./opencl_conformance_tests_reallyquick.csv CL_DEVICE_TYPE_GPU for openCL 1.2: OpenCL-GL sharing failed. This is not a regression.
	2. ./ocltst -m oclruntime.so -A oclruntime.exclude
	3. ./run_conformance.py opencl_conformance_tests_lightning.csv CL_DEVICE_TYPE_GPU : PASS
	4. teamcity test: http://ocltc.amd.com:8111/viewModification.html?modId=104598&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#17 edit


[ROCm/clr commit: 9cd2db67f6]
2018-08-03 16:05:12 -04:00
foreman aea58b76ad P4 to Git Change 1588199 by gandryey@gera-w8 on 2018/08/01 11:53:29
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
	- Fix the build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#119 edit


[ROCm/clr commit: 9fb27ccc8b]
2018-08-01 12:30:25 -04:00
foreman 149e3587ed P4 to Git Change 1588181 by gandryey@gera-w8 on 2018/08/01 11:39:16
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
	- Switch to the workgroup size report for the dispatch info.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#118 edit


[ROCm/clr commit: 19968ab78a]
2018-08-01 11:53:18 -04:00
foreman a2b006e769 P4 to Git Change 1586165 by gandryey@gera-w8 on 2018/07/26 18:11:39
SWDEV-79445 - OCL generic changes and code clean-up
	- Make sure RAVEN2 uses PAL path for offline devices

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#597 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#167 edit


[ROCm/clr commit: 2544968e15]
2018-07-26 18:27:12 -04:00
foreman 4fcd18fd5c P4 to Git Change 1585929 by asalmanp@asalmanp-ocl-stg on 2018/07/26 12:26:11
SWDEV-132899 - [OCL][GFX10] removing gfx1001 (target for Navi10 Lite if xnack is enabled)
	 starting from gfx10, we will use the same target (e.g., gfx1000) no matter if xnack is enabled/disbaled and we pass "-xnack" option to Finalizer if xnack is enabled on the target
	ReviewURLBoard = http://ocltc.amd.com/reviews/r/15492/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#99 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#64 edit


[ROCm/clr commit: 9ddfeef105]
2018-07-26 13:08:44 -04:00
foreman f952fbfc43 P4 to Git Change 1585268 by wchau@wchau_OCL_boltzmann on 2018/07/25 12:33:45
SWDEV-160377 - [OCL][ROCM] Add OpenCL Runtime Support for GFX10 in ROCm

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#92 edit


[ROCm/clr commit: 16c55e6a36]
2018-07-25 12:43:09 -04:00
foreman 4f46ced61a P4 to Git Change 1584936 by vsytchen@vsytchen-win10 on 2018/07/24 18:57:28
SWDEV-79445 - OCL generic changes and code clean-up

	1. In SvmCopyMemoryCommand handle the case when both src and dst pointer don't belong to the SVM space.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#424 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#117 edit


[ROCm/clr commit: ebe91eeace]
2018-07-24 19:14:26 -04:00
foreman 8fb0d789a9 P4 to Git Change 1584196 by gandryey@gera-w8 on 2018/07/23 18:05:14
SWDEV-79445 - OCL generic changes and code clean-up
	- Reset memory dependency if runtime invalidated L1 for the profiling logic workaround. Profiling can be enabled for wave limiter, which could cause L1 invalidation twice.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#116 edit


[ROCm/clr commit: c84525aa73]
2018-07-23 18:19:58 -04:00
foreman 6a30645259 P4 to Git Change 1584092 by zukhan@zukhan-lc-win10 on 2018/07/23 15:24:19
SWDEV-155860 - [OCL][LC] 62 Failures running on OCL/LC Windows drivers
	 - Conformance test  basic->vload_private was failing due to alignment assert check on akc->workitem_private_segment_byte_size.
	 - Determined needed to add alignment, so added alignment into the header file, and removed assert check (as alignment was done afterwards).

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#18 edit


[ROCm/clr commit: 12a063779d]
2018-07-23 15:41:16 -04:00
foreman 7e9a0bf90c P4 to Git Change 1583633 by vsytchen@vsytchen-win10 on 2018/07/20 18:09:50
SWDEV-79445 - OCL generic changes and code clean-up

	1. Purge reduntant SVM alignment. The size will always get correctly aligned inside of PAL/GSL.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#596 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#245 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#70 edit


[ROCm/clr commit: 9aca622a92]
2018-07-20 19:34:45 -04:00
foreman 3bf21c89ee P4 to Git Change 1582940 by gandryey@gera-w8 on 2018/07/19 15:09:58
SWDEV-159255 - [CQE OCL][ocltst][WIN] [DTB-Blocker] OCLMemoryInfo[0] a sub-test of ocltst oclruntime module is failed while running whole module and getting pass while running alone this test due to faulty CL#1576247
	- Reduce extra size acceptance for the cache look-up, so it will satisfy the test condition.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#69 edit


[ROCm/clr commit: 75423e4972]
2018-07-19 15:36:34 -04:00
foreman 12dfd7e000 P4 to Git Change 1582433 by gandryey@gera-w8 on 2018/07/18 17:23:28
SWDEV-155438 - Produce RGP Queue Timings chunk for OpenCL RGP files
	- Register SDMA queue in order to get SDMA timing. The RGP trace capture with SDMA may cause a HW hang occasionally

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#115 edit


[ROCm/clr commit: 8c44442f90]
2018-07-18 18:14:56 -04:00
foreman 30eee1c741 P4 to Git Change 1582337 by vsytchen@vsytchen-win10 on 2018/07/18 15:21:49
SWDEV-79445 - OCL generic changes and code clean-up

	1. std::bind2nd is deprecated in c++11 and removed in c++17. Use a range based for loop without any functor instead.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#59 edit


[ROCm/clr commit: 7899017d49]
2018-07-18 15:41:11 -04:00
foreman 6a0d7b4dcd P4 to Git Change 1581723 by todli@todli-win-opencl-kv1 on 2018/07/17 17:45:23
SWDEV-152361 - Fixed writeBuffer, writeBufferRect and copyBufferRect paths for ExternalPhysical memory in GPU backend, so that SDI copy can sync with writeMarker correctly in Linux.
	http://ocltc.amd.com/reviews/r/15420/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#131 edit


[ROCm/clr commit: 509d540374]
2018-07-17 18:11:43 -04:00
foreman 44dc6b7fe2 P4 to Git Change 1580823 by gandryey@gera-w8 on 2018/07/16 11:48:51
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Use the new enum for RT1

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#423 edit


[ROCm/clr commit: 77bd31536a]
2018-07-16 12:05:32 -04:00
foreman 6d6c29a636 P4 to Git Change 1580351 by vsytchen@vsytchen-win10 on 2018/07/13 14:54:15
SWDEV-158585 - [ROCm] OCLPinnedMemory test is giving VM fault

	1. If host ptr is present, use the CopyBuffer path instead of the ReadBuffer path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#58 edit


[ROCm/clr commit: 017d0f3e03]
2018-07-13 15:05:05 -04:00
foreman d91cb4ed83 P4 to Git Change 1580345 by gandryey@gera-lnx-rcf on 2018/07/13 14:50:14
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Fix linux build error

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#33 edit


[ROCm/clr commit: 494b22221b]
2018-07-13 15:00:01 -04:00
foreman 7d0b0b6d2c P4 to Git Change 1580311 by gandryey@gera-w8 on 2018/07/13 14:24:01
SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays
	- Add support for the second RT queue

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_command.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#422 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#114 edit


[ROCm/clr commit: 6b409a027b]
2018-07-13 14:32:29 -04:00
foreman fc3625d738 P4 to Git Change 1579735 by gandryey@gera-w8 on 2018/07/12 14:22:40
SWDEV-158730 - [CQE OCL][ocltst][WIN] OCLMemoryInfo[1] a sub-test of ocltst oclruntime module is failed
	- Update free memory calculation for APU systems. There is still an issue in GSL with multiple alloc/free passes

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#595 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#96 edit


[ROCm/clr commit: 0b08fa4a4e]
2018-07-12 14:31:30 -04:00
foreman 705bd72c1a P4 to Git Change 1579667 by gandryey@gera-w8 on 2018/07/12 12:31:33
SWDEV-155438 - Produce RGP Queue Timings chunk for OpenCL RGP files
	- Collect command buffer timing
	- Capture 50 dispatches by default

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#291 edit


[ROCm/clr commit: 96d0ddb728]
2018-07-12 12:40:04 -04:00
foreman b67fd2e3f8 P4 to Git Change 1577773 by gandryey@gera-w8 on 2018/07/09 13:10:36
SWDEV-155438 - Produce RGP Queue Timings chunk for OpenCL RGP files
	- Enable queue timing

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#4 edit


[ROCm/clr commit: 3fb9ab0d90]
2018-07-09 13:22:19 -04:00
foreman b8756a8f33 P4 to Git Change 1577743 by jatang@jatang-opencl-hsa-stg5 on 2018/07/09 11:44:49
SWDEV-126897 - Fix enqueue_block_capture_event_profiling_info_after_execution test.

	Need to set eng_clk.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#26 edit


[ROCm/clr commit: bd06a268cc]
2018-07-09 11:54:21 -04:00
foreman 19eade5c6e P4 to Git Change 1577357 by gandryey@gera-w8 on 2018/07/06 17:44:59
SWDEV-158017 - CL_DEVICE_GLOBAL_FREE_MEMORY_AMD doesn't work correctly on PAL backend
	- Adjust system memory calculation for APU systems

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#594 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#26 edit


[ROCm/clr commit: 2caff650a9]
2018-07-06 17:53:44 -04:00
foreman efb43fbae7 P4 to Git Change 1576542 by jatang@jatang-opencl-hsa-stg5 on 2018/07/05 09:29:34
SWDEV-126897 - Remove un-necessary synchronize() for Device Enqueue in LC/ROCm path.

	We don't need it since we have a hsa_signal_wait_acquire() to wait for the scheduler to finish. Moreover, synchronize() sends a barrier packet that could get stuck for some reason.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#25 edit


[ROCm/clr commit: e2b18eda3e]
2018-07-05 09:39:08 -04:00
foreman 86d502a1f8 P4 to Git Change 1576247 by gandryey@gera-w8 on 2018/07/04 16:55:54
SWDEV-158017 - CL_DEVICE_GLOBAL_FREE_MEMORY_AMD doesn't work correctly on PAL backend
	- Change the free memory detection to account possible memory allocation with oversubscription.
	- Make sure resource cache isn't counted as allocated memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#593 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#244 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#25 edit


[ROCm/clr commit: 7e185b873e]
2018-07-04 17:04:53 -04:00
foreman b817f2190a P4 to Git Change 1576209 by vsytchen@vsytchen-win10 on 2018/07/04 15:37:58
SWDEV-79445 - OCL generic changes and code clean-up

	1. Purge redundant AllocMapTarget function

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#223 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#309 edit


[ROCm/clr commit: 6e589b7de6]
2018-07-04 15:50:23 -04:00