Commit Graph

54851 Commits

Author SHA1 Message Date
foreman e8395888c5 P4 to Git Change 1456230 by asalmanp@asalmanp-ocl-stg on 2017/09/07 12:00:21
SWDEV-130722 - Channel order in an interop buffer from OpenCL to OpenGL is flipped on Vega

	OCL calls glGetTexLevelParameteriv_ function to get the internal GL format but this format is the one chosen by app in OGL API such as glTexImage2D.

	The issue is that OGL sometimes selects a different format than defined in the glTexImage2D and this causes some issues in cl_gl interop. One example is shown below

	glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA/**internal format**/, width, height, 0, GL_BGRA/**external format**/, GL_UNSIGNED_BYTES, NULL);

	in this case GL_RGBA is selected by app as the internal format but OGL switches to BGRA8 internally and causes an issue later in cl_gl interop (i.e., R and B channels are swapped) because OCL gets GL_RGBA as the internal format in the glGetTexLevelParameteriv_ call.

	To avoid this issue, OCL needs to query the real internal  gl format in wglResourceAttachAMD and adjusts the CL format accordingly.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#35 edit
2017-09-07 12:15:41 -04:00
Rahul Garg 2725242ba4 Device side assert support
[ROCm/clr commit: 9dcf2ad751]
2017-09-07 20:45:27 +05:30
Rahul Garg 9dcf2ad751 Device side assert support 2017-09-07 20:45:27 +05:30
Rahul Garg 40ff42e555 Device side assert support 2017-09-07 20:45:27 +05:30
foreman 25cf7df1be P4 to Git Change 1456058 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2492 to 2493.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2240 edit


[ROCm/clr commit: a90c0025a4]
2017-09-07 03:15:00 -04:00
foreman a90c0025a4 P4 to Git Change 1456058 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2492 to 2493.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2240 edit
2017-09-07 03:15:00 -04:00
foreman deab032014 P4 to Git Change 1455765 by gandryey@gera-w8 on 2017/09/06 11:57:19
SWDEV-131497 - [CQE OCL][Vega10][OclTst][QR][DTB-Blocker] 'Spir' test of OCLTST is crashing randomly 3/10 times; Faulty CL# 1451293
	- The test doesn't release command queues, which may cause a crash on the device destruction. Force the app's queue destruction if the app didn't release them.

Affected files ...

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


[ROCm/clr commit: d3d97c5010]
2017-09-06 12:08:13 -04:00
foreman d3d97c5010 P4 to Git Change 1455765 by gandryey@gera-w8 on 2017/09/06 11:57:19
SWDEV-131497 - [CQE OCL][Vega10][OclTst][QR][DTB-Blocker] 'Spir' test of OCLTST is crashing randomly 3/10 times; Faulty CL# 1451293
	- The test doesn't release command queues, which may cause a crash on the device destruction. Force the app's queue destruction if the app didn't release them.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#54 edit
2017-09-06 12:08:13 -04:00
foreman 8a1db4ea7c P4 to Git Change 1455573 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2491 to 2492.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2239 edit


[ROCm/clr commit: b71ee777ff]
2017-09-06 03:18:19 -04:00
foreman b71ee777ff P4 to Git Change 1455573 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2491 to 2492.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2239 edit
2017-09-06 03:18:19 -04:00
foreman 4394baef5b P4 to Git Change 1455464 by asalmanp@asalmanp-ocl-stg on 2017/09/05 18:07:43
SWDEV-79278 - [OCL][PAL] refactoring PAL Null device create function to account for creating all the gfx9+ subtarget devices such as gfx901/gfx902/etc

	ReviewboardURL = http://ocltc.amd.com/reviews/r/13378/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#18 edit


[ROCm/clr commit: 9772217dcb]
2017-09-05 18:22:55 -04:00
foreman 9772217dcb P4 to Git Change 1455464 by asalmanp@asalmanp-ocl-stg on 2017/09/05 18:07:43
SWDEV-79278 - [OCL][PAL] refactoring PAL Null device create function to account for creating all the gfx9+ subtarget devices such as gfx901/gfx902/etc

	ReviewboardURL = http://ocltc.amd.com/reviews/r/13378/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#18 edit
2017-09-05 18:22:55 -04:00
foreman c3bff7dc35 P4 to Git Change 1455453 by gandryey@gera-w8 on 2017/09/05 17:49:48
SWDEV-131493 - [CQE OCL][Vega10][QR][DTB-Blocker] Soft Hang is observed while running 'Mipmaps-clCopyImage' tests of WF Conformance due to Faulty CL# 1451293
	Multiple runtime locks could conflict each other:
	- Remove PAL lock from the resource creation/destruction. PAL should be thread safe for those operations.
	- Avoid queue execution lock for a mipmap view destruction in submitUnmapMemory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#55 edit


[ROCm/clr commit: 6b103f1bf6]
2017-09-05 18:03:48 -04:00
foreman 6b103f1bf6 P4 to Git Change 1455453 by gandryey@gera-w8 on 2017/09/05 17:49:48
SWDEV-131493 - [CQE OCL][Vega10][QR][DTB-Blocker] Soft Hang is observed while running 'Mipmaps-clCopyImage' tests of WF Conformance due to Faulty CL# 1451293
	Multiple runtime locks could conflict each other:
	- Remove PAL lock from the resource creation/destruction. PAL should be thread safe for those operations.
	- Avoid queue execution lock for a mipmap view destruction in submitUnmapMemory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#55 edit
2017-09-05 18:03:48 -04:00
foreman f2f2f2c457 P4 to Git Change 1455369 by asalmanp@asalmanp-ocl-stg on 2017/09/05 16:02:34
SWDEV-79278 - [OCL] Dont add gfx9+ devices into offline devices list in orca path as they will be added in pal.
	ReviewboardURL = http://ocltc.amd.com/reviews/r/13396/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#569 edit


[ROCm/clr commit: 121ffcc6ec]
2017-09-05 16:19:02 -04:00
foreman 121ffcc6ec P4 to Git Change 1455369 by asalmanp@asalmanp-ocl-stg on 2017/09/05 16:02:34
SWDEV-79278 - [OCL] Dont add gfx9+ devices into offline devices list in orca path as they will be added in pal.
	ReviewboardURL = http://ocltc.amd.com/reviews/r/13396/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#569 edit
2017-09-05 16:19:02 -04:00
foreman 6f8dfdf47b P4 to Git Change 1455364 by lmoriche@lmoriche_opencl_dev2 on 2017/09/05 15:55:28
SWDEV-126884 - OCL 2.1 Platform APIs
	- Update the OpenCL headers with Khronos GitHub latest
	- Switch the runtime/compiler/compilerlib to OpenCL 2.2 headers (still reporting OpenCL 2.0)
	- Move spir.h to compiler/llvm/lib/Transforms/SPIR
	- Update the cl.hpp and cl2.hpp C++ wrappers.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#19 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/build/Makefile.headers#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_d3d10.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_d3d11.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_dx9_media_sharing.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_gl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_gl_ext.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_platform.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/opencl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/spir.h#3 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl2.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_d3d10.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_d3d11.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_dx9_media_sharing.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_egl.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_gl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_gl_ext.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/opencl.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/spir.h#3 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl2.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_d3d10.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_d3d11.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_dx9_media_sharing.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_egl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_gl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_gl_ext.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_platform.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/opencl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/spir.h#2 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl2.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_d3d10.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_d3d11.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_dx9_media_sharing.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_egl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_gl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_gl_ext.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_platform.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/opencl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/build/Makefile.icd#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile.clc#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lSpir.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lSpirMeta.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/spir.h#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Transforms/SPIR/AMDSPIRLoader.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Transforms/SPIR/spir.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#45 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIREnumCheck.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#18 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/build/Makefile.cltrace#2 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/cltrace.cpp#15 edit


[ROCm/clr commit: b3ca3bdd0e]
2017-09-05 16:10:54 -04:00
foreman b3ca3bdd0e P4 to Git Change 1455364 by lmoriche@lmoriche_opencl_dev2 on 2017/09/05 15:55:28
SWDEV-126884 - OCL 2.1 Platform APIs
	- Update the OpenCL headers with Khronos GitHub latest
	- Switch the runtime/compiler/compilerlib to OpenCL 2.2 headers (still reporting OpenCL 2.0)
	- Move spir.h to compiler/llvm/lib/Transforms/SPIR
	- Update the cl.hpp and cl2.hpp C++ wrappers.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#19 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/build/Makefile.headers#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_d3d10.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_d3d11.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_dx9_media_sharing.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_gl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_gl_ext.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_platform.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/opencl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/spir.h#3 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl2.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_d3d10.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_d3d11.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_dx9_media_sharing.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_egl.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_gl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_gl_ext.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/opencl.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/spir.h#3 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl2.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_d3d10.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_d3d11.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_dx9_media_sharing.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_egl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_gl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_gl_ext.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_platform.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/opencl.h#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/spir.h#2 delete
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl2.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_d3d10.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_d3d11.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_dx9_media_sharing.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_egl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_gl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_gl_ext.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_platform.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/opencl.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/build/Makefile.icd#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/build/Makefile.clc#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lSpir.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lSpirMeta.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/spir.h#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Transforms/SPIR/AMDSPIRLoader.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Transforms/SPIR/spir.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#45 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIREnumCheck.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#18 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/build/Makefile.cltrace#2 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/cltrace.cpp#15 edit
2017-09-05 16:10:54 -04:00
foreman 329748b7e4 P4 to Git Change 1455302 by gandryey@gera-w8 on 2017/09/05 14:28:18
SWDEV-131312 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] Compubench test are not completing due to faulty CL#1451293
	- Mark active vgpu only for pinned memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#16 edit


[ROCm/clr commit: 57cfc57a45]
2017-09-05 14:42:03 -04:00
foreman 57cfc57a45 P4 to Git Change 1455302 by gandryey@gera-w8 on 2017/09/05 14:28:18
SWDEV-131312 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] Compubench test are not completing due to faulty CL#1451293
	- Mark active vgpu only for pinned memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#16 edit
2017-09-05 14:42:03 -04:00
foreman 76f0d2051f P4 to Git Change 1455212 by gandryey@gera-w8 on 2017/09/05 11:23:03
SWDEV-131311 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] BasemarkCL test are not completing due to faulty CL#1451293
	- After a view destruction the original object is no longer can be associated with a vgpu

Affected files ...

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


[ROCm/clr commit: ab82101b73]
2017-09-05 11:35:35 -04:00
foreman ab82101b73 P4 to Git Change 1455212 by gandryey@gera-w8 on 2017/09/05 11:23:03
SWDEV-131311 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][VEGA] BasemarkCL test are not completing due to faulty CL#1451293
	- After a view destruction the original object is no longer can be associated with a vgpu

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#33 edit
2017-09-05 11:35:35 -04:00
foreman 5be03e7125 P4 to Git Change 1454728 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2490 to 2491.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2238 edit


[ROCm/clr commit: 38a9a7201e]
2017-09-02 03:17:42 -04:00
foreman 38a9a7201e P4 to Git Change 1454728 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2490 to 2491.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2238 edit
2017-09-02 03:17:42 -04:00
Amber Lin 117fa5034b Fix PmcGetCounterProperties
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.

Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-09-01 17:58:15 -04:00
Amber Lin 784e3dc3c6 Fix PmcGetCounterProperties
Blocks inside of HsaCounterProperties structure is not a fixed size. It
varies with number of counters in the block -- size of Counters in
HsaCounterBlockProperties is different in every block. Current
implementation assumes fixed size and the next block will overwrite the
previous block's Counters. This patch change the array implementation to
using a pointer so it'll move the next block to the correction position.

Change-Id: I72800f4db5f2a68215fba477a61ca07ec99054bf
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 117fa5034b]
2017-09-01 17:58:15 -04:00
foreman d347b6c0c7 P4 to Git Change 1454419 by lmoriche@lmoriche_opencl_dev2 on 2017/09/01 11:33:04
SWDEV-1 - Khronos GIT import (08/31/17)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/LICENSE.txt#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#44 edit


[ROCm/clr commit: a89198e6ea]
2017-09-01 10:46:06 -05:00
foreman a89198e6ea P4 to Git Change 1454419 by lmoriche@lmoriche_opencl_dev2 on 2017/09/01 11:33:04
SWDEV-1 - Khronos GIT import (08/31/17)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/LICENSE.txt#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.rc#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.c#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd.h#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#30 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_linux.c#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows.c#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#44 edit
2017-09-01 10:46:06 -05:00
foreman 98da5a1381 P4 to Git Change 1454218 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2489 to 2490.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2237 edit


[ROCm/clr commit: 86752f8861]
2017-09-01 03:17:07 -04:00
foreman 86752f8861 P4 to Git Change 1454218 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2489 to 2490.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2237 edit
2017-09-01 03:17:07 -04:00
Sean Keely f1a661dedb Report tools library load failures in debug builds.
Change-Id: Ie1ff313e929fc46134e58730a1d370c5d7ace8db
2017-08-31 21:32:48 -04:00
Sean Keely e150edc48c Report tools library load failures in debug builds.
Change-Id: Ie1ff313e929fc46134e58730a1d370c5d7ace8db


[ROCm/ROCR-Runtime commit: f1a661dedb]
2017-08-31 21:32:48 -04:00
foreman d4a869c3b9 P4 to Git Change 1454130 by asalmanp@asalmanp-ocl-stg on 2017/08/31 20:49:52
SWDEV-79278 - [OCL][VG12] adding missing VG12 ID

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#29 edit


[ROCm/clr commit: 3e3852fc90]
2017-08-31 21:00:37 -04:00
foreman 3e3852fc90 P4 to Git Change 1454130 by asalmanp@asalmanp-ocl-stg on 2017/08/31 20:49:52
SWDEV-79278 - [OCL][VG12] adding missing VG12 ID

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#29 edit
2017-08-31 21:00:37 -04:00
foreman 60bf1fff2f P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up
	- Use TS check first to avoid LogError
	- Reset VirtualGPU reference if resource was cached
	- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit


[ROCm/clr commit: 38c1488dfd]
2017-08-31 14:50:36 -04:00
foreman 38c1488dfd P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up
	- Use TS check first to avoid LogError
	- Reset VirtualGPU reference if resource was cached
	- Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit
2017-08-31 14:50:36 -04:00
foreman a0c2a818c5 P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit


[ROCm/clr commit: 2b07a14f50]
2017-08-31 11:10:32 -04:00
foreman 2b07a14f50 P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit
2017-08-31 11:10:32 -04:00
Laurent Morichetti 0f05ef73ac Include <errno.h> for EBUSY
Change-Id: I9fa3417445866f3ce37af2169f623afa8e92e873
2017-08-31 07:32:51 -07:00
Laurent Morichetti b2cb6bca96 Include <errno.h> for EBUSY
Change-Id: I9fa3417445866f3ce37af2169f623afa8e92e873


[ROCm/ROCR-Runtime commit: 0f05ef73ac]
2017-08-31 07:32:51 -07:00
Jenkins 96173dde81 Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7


[ROCm/clr commit: 1a7c86358e]
2017-08-31 04:11:13 -05:00
Jenkins 1a7c86358e Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7
2017-08-31 04:11:13 -05:00
Jenkins 913f706aed Merge 'master' into 'amd-master'
Change-Id: I815c98287213e742673caafec084cbd5ed11b1c7
2017-08-31 04:11:13 -05:00
foreman 8cfdfe68cb P4 to Git Change 1453619 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2488 to 2489.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2236 edit


[ROCm/clr commit: 06c254beb0]
2017-08-31 03:15:55 -04:00
foreman 06c254beb0 P4 to Git Change 1453619 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2488 to 2489.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2236 edit
2017-08-31 03:15:55 -04:00
Ben Sander 5134d6a2e9 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM.
[ROCm/clr commit: fff74eee21]
2017-08-31 03:00:14 +00:00
Ben Sander fff74eee21 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM. 2017-08-31 03:00:14 +00:00
Ben Sander 4ac6d643c1 hipStreamQuery uses av::is_empty. Add HIP_FORCE_NULL_STREAM. 2017-08-31 03:00:14 +00:00
Ben Sander b45217fef0 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.


[ROCm/clr commit: ed8c3ba7e7]
2017-08-31 03:00:14 +00:00
Ben Sander ed8c3ba7e7 Refactor hipStreamWaitEvent
- Null streams use same flow as non-null.
- Add HIP_SYNC_STREAM_WAIT
- Resolve null stream.
2017-08-31 03:00:14 +00:00