Commit Graph

142 Commits

Author SHA1 Message Date
foreman a615e4fbb6 P4 to Git Change 1398063 by lmoriche@lmoriche_opencl_dev2 on 2017/04/13 12:12:33
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Make it possible to build with libstdc++

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/semaphore.cpp#9 edit
2017-04-13 12:17:47 -04:00
foreman c7e04f3222 P4 to Git Change 1397729 by kzhuravl@kzhuravl-fiji-ocllc on 2017/04/12 20:05:08
SWDEV-116535 - Report CL_FP_DENORM for single fp config for gfx9 for LC for rocm/pal and force denorms on based on AMD_GPU_FORCE_SINGLE_FP_DENORM for rocm.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#7 edit
2017-04-12 19:14:23 -05:00
foreman 37f3408aef P4 to Git Change 1392795 by wchau@wchau_OCL_boltzmann on 2017/03/30 14:32:40
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Add the Vega10 DeviceInfo entry and the gfx90X control functions.
	- modify getHsaDeviceId() to use HSA_AGENT_INFO_NAME to determine the HSA device ID.
	- add back the codes to get the pci_id in the function

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#46 edit
2017-03-30 15:09:52 -04:00
foreman 168c0a27b7 P4 to Git Change 1392761 by wchau@wchau_OCL_boltzmann on 2017/03/30 13:38:04
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Add the Vega10 DeviceInfo entry and the gfx90X control functions.
	- modify getHsaDeviceId() to use HSA_AGENT_INFO_NAME to determine the HSA device ID.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#45 edit
2017-03-30 13:57:45 -04:00
foreman a831af4af0 P4 to Git Change 1392064 by smekhano@stas-mwamba-rocm on 2017/03/29 13:38:24
SWDEV-116959 - ROCm OpenCL: split -amdgpu-internalize-symbols and -amdgpu-early-inline-all
	We shall not run internalize pass in FE, it breaks separate compilation.
	Thus two options are split now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#61 edit
2017-03-29 13:51:36 -04:00
foreman d1e1688c89 P4 to Git Change 1390019 by kzhuravl@kzhuravl-fiji-cl-on-lc-git-overlay on 2017/03/23 18:19:56
SWDEV-102699 - Update runtime for upcoming metadata changes:
	  - https://reviews.llvm.org/D29948
	  - https://reviews.llvm.org/D29949
	  - https://reviews.llvm.org/D30969
	  - https://reviews.llvm.org/D30970

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/12486/
	Testing: lightning ocl conformance locally + windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#21 edit
2017-03-23 18:30:32 -04:00
foreman a92d053618 P4 to Git Change 1388100 by smekhano@stas-mwamba-rocm on 2017/03/20 18:15:21
SWDEV-105835 - ROCm OpenCL: add -amdgpu-internalize-symbols to FE
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#29 edit
2017-03-20 18:24:01 -04:00
foreman 34fc049ad5 P4 to Git Change 1385583 by gandryey@gera-w8 on 2017/03/14 16:43:09
SWDEV-79445 - OCL generic changes and code clean-up
	- replace NULL with nullptr in the ROCm backend

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocappprofile.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompilerlib.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#9 edit
2017-03-14 16:47:51 -04:00
foreman b33adc24e1 P4 to Git Change 1385483 by smekhano@stas-mwamba-rocm on 2017/03/14 13:44:00
SWDEV-115974 - ROCm OCL RT: pass OpenCL relaxation options to clang
	Testing: smoke, precheckin, MLOpen/LC
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#58 edit
2017-03-14 13:53:50 -04:00
foreman d08bdc6603 P4 to Git Change 1384479 by kzhuravl@kzhuravl-fiji-cl-on-lc on 2017/03/11 01:30:12
SWDEV-94644 - Fix the build after r297498

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#57 edit
2017-03-11 01:40:12 -05:00
foreman 4a7edb2164 P4 to Git Change 1383787 by skeely@skeely_HSA_linux on 2017/03/09 19:08:12
SWDEV-3 - Fix createView for interop images.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#13 edit
2017-03-09 19:33:44 -05:00
foreman ee02a238bc P4 to Git Change 1383638 by skeely@skeely_HSA_linux on 2017/03/09 15:39:54
SWDEV-3 - Don't report SVM atomics on Vega.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#43 edit
2017-03-09 16:08:31 -05:00
foreman 6950c861ad P4 to Git Change 1382437 by gandryey@gera-w8 on 2017/03/07 13:57:15
SWDEV-115242 - [ROCm CQE][OCLonLC][QR][G] ocltst - OCLImage2DFromBuffer results in Segmentation fault
	- don't use asImage() virtual method, since coherency layer may require a transfer during object destruction

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.hpp#6 edit
2017-03-07 14:17:43 -05:00
foreman 8a1b72640a P4 to Git Change 1381244 by gandryey@gera-w8 on 2017/03/03 17:58:38
SWDEV-107546 - [ROCm CQE][OCL][LC/HSAIL][mGPU][G] WF conf test "Buffers" fails in mGPU configs
	- Add MGPU coherency layer support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#99 edit
2017-03-03 18:02:55 -05:00
foreman 37a5e9a169 P4 to Git Change 1377072 by gandryey@gera-w8 on 2017/02/23 16:54:28
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch wait state in HSA copy functions from HSA_WAIT_STATE_ACTIVE to  HSA_WAIT_STATE_BLOCKED

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#13 edit
2017-02-23 17:06:16 -05:00
foreman faf83743d8 P4 to Git Change 1373431 by gandryey@gera-w8 on 2017/02/14 17:31:04
SWDEV-112401 - [OCLonROCm vs LinuxPro][Fiji][Perf] Around ~ 70% performance drop observed with OCL SDK - BlackScholes test
	- Switch persistent emulation to device memory instead of system memory, since ROCr doesn't support visible heap without large bar. It's a potential tradeoff of persistent usage in the applications between an upload buffer or directly in a kernel.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#11 edit
2017-02-14 17:38:43 -05:00
foreman dadd21fced P4 to Git Change 1370387 by wchau@wchau_OCL_boltzmann on 2017/02/07 17:00:35
SWDEV-103424 - [ROCm CQE][OCL] OCLRuntime - OCLCreateBuffer tests are failing.  The failure is due to AQL cannot support global size > 32bit range.  Adding dispatch split support for ROCm, similar to that of GSL (CL#1159349), to resolve the issue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLCreateBuffer.cpp#6 edit
2017-02-07 17:13:15 -05:00
foreman c9cbcbf0f5 P4 to Git Change 1369850 by gandryey@gera-w8 on 2017/02/06 18:15:17
SWDEV-112661 - [ROCm CQE][OCLonLC][QR][G] 80 failures observed with Images(Samplerless and Samplerless pitch) tests
	- Make sure the pitch for image buffer is properly aligned to the reported device info

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#10 edit
2017-02-06 18:22:59 -05:00
foreman 064f21aa74 P4 to Git Change 1369662 by gandryey@gera-w8 on 2017/02/06 13:52:13
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- reenable HSA copy in ROCr, since OCL copy doesn't really fix the hang issue in integer_ops, but just delays it.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#30 edit
2017-02-06 14:08:48 -05:00
foreman a10c33ad77 P4 to Git Change 1368253 by gandryey@gera-w8 on 2017/02/01 18:29:08
SWDEV-112352 - [ROCm CQE][OCLonLC][QR][G] Aborted/Segmentation fault is observed with "sub_buffers_read_write_dual_devices" of Buffers, due to CL#1364923
	- Keep system memory for multiple devices in case of possible initialization on the second device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#9 edit
2017-02-01 18:39:14 -05:00
foreman c0d4edda9d P4 to Git Change 1367969 by gandryey@gera-lnx-rcf-lc on 2017/02/01 11:53:10
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Disable ROCr copy buffer and use runtime kernel to avoid  HW hangs in integer_ops.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blit.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#29 edit
2017-02-01 12:03:40 -05:00
foreman c36d89754a P4 to Git Change 1367952 by gandryey@gera-w8 on 2017/02/01 11:11:26
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Back out changelist 1367810. A hang was delayed, but still occured much later in the test.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#16 edit
2017-02-01 11:21:13 -05:00
foreman df22dc2a47 P4 to Git Change 1367875 by smekhano@stas-mwamba-rocm on 2017/02/01 01:33:12
SWDEV-105835 - ROCm OpenCL: add -amdgpu-internalize-symbols to BE

	The option -amdgpu-internalize-symbols allows to drop unused symbols from program,
	functions and global variables. This saves compile time and object size, a lot in
	case of a big program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#55 edit
2017-02-01 01:41:59 -05:00
foreman a7a4a6dbad P4 to Git Change 1367810 by gandryey@gera-w8 on 2017/01/31 19:02:27
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Make HSA copy call lock protected, due to a possible race condition and HW hangs in integer_ops long_math test

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#15 edit
2017-01-31 19:09:43 -05:00
foreman d301d438f8 P4 to Git Change 1367307 by gandryey@gera-w8 on 2017/01/30 16:30:52
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Add missing row and slice pitches to fix "clReadWriteImage Pitch"  and "clFillImage pitch" tests

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#9 edit
2017-01-30 16:41:55 -05:00
foreman cfac74adbf P4 to Git Change 1367270 by gandryey@gera-w8 on 2017/01/30 15:31:49
SWDEV-112273 - [ROCm CQE][OCLonLC][QR][G] 2 of 9 tests failed with mem_host_flags due to CL#1366459
	- Keep system memory for images with UHP allocations

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#38 edit
2017-01-30 15:38:27 -05:00
foreman 5d09207455 P4 to Git Change 1367147 by cpaquot@hog-ocl on 2017/01/30 13:05:47
SWDEV-106178 - Implemented image from buffer

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#8 edit
2017-01-30 13:13:28 -05:00
foreman 027f8d9108 P4 to Git Change 1366502 by gandryey@gera-lnx-rcf-lc on 2017/01/26 14:44:13
SWDEV-112016 - [ROCm CQE][OCLonLC][QR][G] Seg fault observed with "sub_buffers_read_write" of Buffers, due to CL#1364923
	- Take the host pointer for CPU access in bufferfill.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#8 edit
2017-01-26 14:52:51 -05:00
foreman 5fd072d9b3 P4 to Git Change 1366459 by gandryey@gera-w8 on 2017/01/26 13:37:23
SWDEV-112016 - [ROCm CQE][OCLonLC][QR][G] Seg fault observed with "sub_buffers_read_write" of Buffers, due to CL#1364923
	- Fix subbuffers logic with AHP allocations
	- Make AHP allocations to use UHP path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#7 edit
2017-01-26 13:45:49 -05:00
foreman 4ad12d089c P4 to Git Change 1366205 by kzhuravl@kzhuravl-fiji-cl-on-lc on 2017/01/25 18:04:35
SWDEV-94644 - Make sure we are processing metadata note entry with supported n_type. Update build log and fail for not supported metadata n_type. Use constants defined in AMDGPUPTNote.h

	This change is needed for https://reviews.llvm.org/D29115

	This change is required for CL 1366203

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/12223/
	Testing: lightning conformance tests locally

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#54 edit
2017-01-25 18:12:20 -05:00
foreman aae258198d P4 to Git Change 1365943 by lmoriche@lmoriche_opencl_dev on 2017/01/25 11:37:20
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Cleanups: Remove CL_HSA_ENABLED/DISABLED_AMD.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#208 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#283 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocappprofile.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#53 edit
2017-01-25 11:44:06 -05:00
foreman 454621b7f1 P4 to Git Change 1364923 by gandryey@gera-lnx-rcf-lc on 2017/01/23 11:48:45
SWDEV-110996 - OCL to use the blit manager instead ROCr implementing copyRect API

	- Implement the blit manager functionality in ROCm backened. This checki-in also fixes SWDEV-95079, SWDEV-95068, SWDEV-95069, SWDEV-95071

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#6 edit
2017-01-23 11:59:51 -05:00
foreman c513ed5207 P4 to Git Change 1362323 by kzhuravl@kzhuravl-fiji-cl-on-lc on 2017/01/16 14:21:45
SWDEV-102713 - Update Runtime to Metadata 2.0.

	ReviewBoardURL: http://ocltc/reviews/r/11965/
	Testing: some OCL SDK samples.

	Change by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.cpp#7 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.hpp#6 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#19 edit
2017-01-16 14:35:05 -05:00
foreman c9781ce180 P4 to Git Change 1361170 by wchau@wchau_WIN_OCL_LC on 2017/01/12 10:55:25
SWDEV-102698 - [OCL-LC-ROCm] Add code caching support to OpenCL program manager - resubmission of CL#1358063 with addition of PAL/LC support

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#149 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/Makefile#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#207 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#282 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#264 edit
2017-01-12 11:03:31 -05:00
foreman a3c0b6525f P4 to Git Change 1360479 by rerrabol@RocmOnLC on 2017/01/10 17:32:55
SWDEV-108854 - Support initialization of SGPR and VGPR usage from kernel header object. Changes to fix issue reported by SWDEV-108854

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#18 edit
2017-01-10 17:46:11 -05:00
foreman 0673572c79 P4 to Git Change 1358998 by gandryey@gera-w8 on 2017/01/05 17:36:02
SWDEV-110504 - OpenCL on ROCm: MAX_WORK_GROUP_SIZE is 256 but max work items per dimension is 1024
	- Report Orca stack capabilities. OCL runtime currently can't report 1024 due to possible regressions in the apps.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#12 edit
2017-01-05 17:46:40 -05:00
foreman ff99f1f762 P4 to Git Change 1358358 by wchau@wchau_OCL_boltzmann on 2017/01/04 10:21:31
SWDEV-102698 - Back out changelist 1358063

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#147 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#206 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#281 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#262 edit
2017-01-04 10:26:13 -05:00
foreman b9916d35f4 P4 to Git Change 1358063 by wchau@wchau_OCL_boltzmann on 2017/01/03 16:44:42
SWDEV-102698 - [OCL-LC-ROCm] Add code caching support to OpenCL program manager

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#146 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/Makefile#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#205 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#280 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#261 edit
2017-01-03 16:56:06 -05:00
foreman fb0e417372 P4 to Git Change 1353702 by cpaquot@hog-ocl on 2016/12/15 14:43:42
SWDEV-108384 - Revert back CL 1352747

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#26 edit
2016-12-15 14:54:31 -05:00
foreman 320d5de3a1 P4 to Git Change 1352835 by cpaquot@hog-ocl on 2016/12/13 19:59:07
SWDEV-108384 - Force map memory offset to 0
	Copy what we do in ORCA and PAL backend: When mapping an image, default the offset to 0 instead of the map offset for the staging buffer.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#25 edit
2016-12-13 20:42:16 -05:00
foreman d027173ee5 P4 to Git Change 1352747 by cpaquot@hog-ocl on 2016/12/13 16:17:41
SWDEV-108384 - Send down row pitch and slice pitch
	This fixes test case #8 and 9.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#24 edit
2016-12-13 17:25:20 -05:00
foreman d077c1abaa P4 to Git Change 1351742 by gandryey@gera-w8 on 2016/12/09 14:31:14
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix a warnign in LC build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#23 edit
2016-12-09 14:37:13 -05:00
foreman c4df63b847 P4 to Git Change 1351728 by gandryey@gera-w8 on 2016/12/09 14:15:49
SWDEV-79445 - OCL generic changes and code clean-up
	- Use switch/case instead of if/else to simplify the code tracing of the argument setup.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#22 edit
2016-12-09 14:19:54 -05:00
foreman 824a34cf54 P4 to Git Change 1349980 by cpaquot@hog-ocl on 2016/12/06 11:22:18
SWDEV-107442, SWDEV-108405 - Need to release GPU memory fence before releasing resources
	When we call submitKernelInternal, we need to release GPU memory fence before release resources used in the kernel otherwise we can page fault.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#5 edit
2016-12-06 11:40:16 -05:00
foreman b705f74166 P4 to Git Change 1349031 by lmoriche@lmoriche_opencl_dev on 2016/12/02 18:33:20
SWDEV-107568 - [ROCm CQE][OCL][CZ] Basic 2.0 conformance test giving Segmentation fault (core dumped) at "progvar_prog_scope_uninit"
	- Detect if writable program scope variables are present in the program, and if so, insert barrier each dispatch of a kernel from this program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#21 edit
2016-12-02 18:40:16 -05:00
foreman c7d2b188de P4 to Git Change 1348779 by nhaustov@spb-hlc-fiji1_opencl_rocm on 2016/12/02 06:23:08
SWDEV-102966 - Dump code object disassembly in OpenCL rocm device.

	Invoke DumpExecutableAsText from driver library.
	Update build to depend on some more LLVM libraries.

	LLVM changes are included, but will come through amd-common.
	Driver changes will come through ROCm-OpenCL-driver.

	Testing: Run some SDK samples/test_basic with AMD_OCL_BUILD_OPTIONS_APPEND=-save-temps

	Reviewed by: Laurent Morichetti, German Andryeyev.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#47 edit
2016-12-02 06:41:36 -05:00
foreman d4cbb3a801 P4 to Git Change 1348476 by lmoriche@lmoriche_opencl_dev on 2016/12/01 21:48:08
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Add the Vega10 DeviceInfo entry and the gfx90X control functions.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#29 edit
2016-12-01 21:55:50 -05:00
foreman 45bf0e3ba6 P4 to Git Change 1345399 by cpaquot@hog-ocl on 2016/11/23 17:13:30
SWDEV-107558 - Wrong path for map/unmap images
	If mapMemory is allocated, we shouldn't use the read/writeImage path since they lock/unlock the host pointer which in this case, is mapped to GPU memory already.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#20 edit
2016-11-23 17:20:51 -05:00
foreman e82d2948f5 P4 to Git Change 1345359 by lmoriche@lmoriche_opencl_dev on 2016/11/23 15:52:29
SWDEV-94610 - Initialize printfdbg_ to null in VirtualDevice::VirtualDevice

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#19 edit
2016-11-23 16:02:51 -05:00
foreman f07e2533df P4 to Git Change 1344871 by lmoriche@lmoriche_opencl_dev on 2016/11/22 16:52:17
SWDEV-108024 - [ROCm CQE] Printf broken on ROCm , LC and HSAIL path
	A zero-lenth printfBuffer is not an error. Even if a printfInfo is present, it does not mean that the kernel is going to call printf. Return true if offsetSize is 0.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#5 edit
2016-11-22 16:57:16 -05:00