Commit Graph

68445 Commits

Author SHA1 Message Date
Ben Goz a22e054980 fix a bug in rptr page release
Adjust to new ioctl format

Signed-off-by: Ben Goz <ben.goz@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: e7a5cda5a5]
2014-12-14 13:49:41 +02:00
foreman 26008c6287 P4 to Git Change 1105088 by gandryey@gera-dev-w7 on 2014/12/12 16:33:57
EPR #411134 - [Media SDK 1.1]: videoSurveillance application crashes for DX9
	- leave clCreateImage2DFromD3D9ResourceAMD with internal interface

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#26 edit


[ROCm/clr commit: 3c4771025c]
2014-12-12 16:54:07 -05:00
foreman 3c4771025c P4 to Git Change 1105088 by gandryey@gera-dev-w7 on 2014/12/12 16:33:57
EPR #411134 - [Media SDK 1.1]: videoSurveillance application crashes for DX9
	- leave clCreateImage2DFromD3D9ResourceAMD with internal interface

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#26 edit
2014-12-12 16:54:07 -05:00
foreman d4cff1445f P4 to Git Change 1105072 by gandryey@gera-dev-w7 on 2014/12/12 16:08:18
EPR #411134 - [Media SDK 1.1]: videoSurveillance application crashes for DX9
	- Add missing wrapper around runtime calls for DX9 interop.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#25 edit


[ROCm/clr commit: 0b9a5c8887]
2014-12-12 16:25:06 -05:00
foreman 0b9a5c8887 P4 to Git Change 1105072 by gandryey@gera-dev-w7 on 2014/12/12 16:08:18
EPR #411134 - [Media SDK 1.1]: videoSurveillance application crashes for DX9
	- Add missing wrapper around runtime calls for DX9 interop.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#25 edit
2014-12-12 16:25:06 -05:00
foreman 74b26a8dd6 P4 to Git Change 1105053 by gandryey@gera-dev-w7 on 2014/12/12 15:44:58
ECR #304775 - Don't disable second SDMA if configuration has just 1 compute ring.

Affected files ...

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


[ROCm/clr commit: 661353d3d4]
2014-12-12 15:54:12 -05:00
foreman 661353d3d4 P4 to Git Change 1105053 by gandryey@gera-dev-w7 on 2014/12/12 15:44:58
ECR #304775 - Don't disable second SDMA if configuration has just 1 compute ring.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#343 edit
2014-12-12 15:54:12 -05:00
foreman c0087b3b65 P4 to Git Change 1104993 by gandryey@gera-ubuntu14 on 2014/12/12 12:19:20
EPR #410797 - Specific OCL kernel is 5x slower on Hawaii than on Nvidia K40 GPU when tested under Linux.
	- The logic for local workgroup size search was prioritizing ALU utilization, but with multidemensional launches X dimension could affect address calculation and cacheline utlization more than others. Add cacheline size into the consideration.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#270 edit


[ROCm/clr commit: 674da4560d]
2014-12-12 12:26:52 -05:00
foreman 674da4560d P4 to Git Change 1104993 by gandryey@gera-ubuntu14 on 2014/12/12 12:19:20
EPR #410797 - Specific OCL kernel is 5x slower on Hawaii than on Nvidia K40 GPU when tested under Linux.
	- The logic for local workgroup size search was prioritizing ALU utilization, but with multidemensional launches X dimension could affect address calculation and cacheline utlization more than others. Add cacheline size into the consideration.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#270 edit
2014-12-12 12:26:52 -05:00
foreman 65ccc231df P4 to Git Change 1104653 by jsjodin@jsjodin_linux_avx_hsa on 2014/12/11 13:21:54
EPR #411189 - Fix windows handling of SIGFPE. We cannot check worker thread during creation, because the constructor has not yet been called.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#43 edit


[ROCm/clr commit: 5a2d6ed3c7]
2014-12-11 13:28:22 -05:00
foreman 5a2d6ed3c7 P4 to Git Change 1104653 by jsjodin@jsjodin_linux_avx_hsa on 2014/12/11 13:21:54
EPR #411189 - Fix windows handling of SIGFPE. We cannot check worker thread during creation, because the constructor has not yet been called.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#43 edit
2014-12-11 13:28:22 -05:00
foreman 0293e30a65 P4 to Git Change 1104627 by gandryey@gera-dev-w7 on 2014/12/11 12:01:30
EPR #411058 - [CQE OCL][Lnx][QR][CZ]MultiDevice_Context fails in 2.0 conformance wimpyfull due to CL# 1101352
	- The detection of different map types is overcomplicated with possibility of multiple maps and multithreading environment. Thus keep USWC indirect map optimization based on the allocation flags.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#342 edit


[ROCm/clr commit: 593d1e3b8d]
2014-12-11 12:07:05 -05:00
foreman 593d1e3b8d P4 to Git Change 1104627 by gandryey@gera-dev-w7 on 2014/12/11 12:01:30
EPR #411058 - [CQE OCL][Lnx][QR][CZ]MultiDevice_Context fails in 2.0 conformance wimpyfull due to CL# 1101352
	- The detection of different map types is overcomplicated with possibility of multiple maps and multithreading environment. Thus keep USWC indirect map optimization based on the allocation flags.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#342 edit
2014-12-11 12:07:05 -05:00
foreman c27a1ebdd5 P4 to Git Change 1104508 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/11 03:00:09
EPR #010002 - Change OpenCL version number from 1701 to 1702.

Affected files ...

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


[ROCm/clr commit: c722a0a2da]
2014-12-11 03:10:05 -05:00
foreman c722a0a2da P4 to Git Change 1104508 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/11 03:00:09
EPR #010002 - Change OpenCL version number from 1701 to 1702.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1448 edit
2014-12-11 03:10:05 -05:00
foreman 48857846cd P4 to Git Change 1104077 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/10 03:00:10
EPR #010002 - Change OpenCL version number from 1700 to 1701.

Affected files ...

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


[ROCm/clr commit: 68108a505c]
2014-12-10 03:10:40 -05:00
foreman 68108a505c P4 to Git Change 1104077 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/10 03:00:10
EPR #010002 - Change OpenCL version number from 1700 to 1701.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1447 edit
2014-12-10 03:10:40 -05:00
foreman a709ffc57e P4 to Git Change 1103884 by yaxunl@yaxunl_stg_win50 on 2014/12/09 15:30:25
EPR #405889 - Added option to set VGPR/SGPR/LDS usage in ISA to certain value greater than actual usage for debugging purpose. If the given value is smaller than actual value, this option has no effect.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scHWShaderInfo.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#121 edit


[ROCm/clr commit: 9f760b7bf0]
2014-12-09 16:10:21 -05:00
foreman 9f760b7bf0 P4 to Git Change 1103884 by yaxunl@yaxunl_stg_win50 on 2014/12/09 15:30:25
EPR #405889 - Added option to set VGPR/SGPR/LDS usage in ISA to certain value greater than actual usage for debugging purpose. If the given value is smaller than actual value, this option has no effect.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scHWShaderInfo.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#121 edit
2014-12-09 16:10:21 -05:00
foreman a1b445747a P4 to Git Change 1103629 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/09 03:00:55
EPR #010002 - Change OpenCL version number from 1699 to 1700.

Affected files ...

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


[ROCm/clr commit: ed3642807b]
2014-12-09 03:20:34 -05:00
foreman ed3642807b P4 to Git Change 1103629 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/09 03:00:55
EPR #010002 - Change OpenCL version number from 1699 to 1700.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1446 edit
2014-12-09 03:20:34 -05:00
foreman 38a2aa6461 P4 to Git Change 1103206 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/06 03:00:11
EPR #010002 - Change OpenCL version number from 1698 to 1699.

Affected files ...

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


[ROCm/clr commit: f4addd58c9]
2014-12-06 03:08:32 -05:00
foreman f4addd58c9 P4 to Git Change 1103206 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/06 03:00:11
EPR #010002 - Change OpenCL version number from 1698 to 1699.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1445 edit
2014-12-06 03:08:32 -05:00
foreman b1a7d6dd83 P4 to Git Change 1103193 by wchau@wchau_WINDOWS7_OCL on 2014/12/05 22:31:28
ECR #399840 - OpenCL Runtime HW Debug support development - APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#1 add


[ROCm/clr commit: 94debb918c]
2014-12-05 22:36:08 -05:00
foreman 94debb918c P4 to Git Change 1103193 by wchau@wchau_WINDOWS7_OCL on 2014/12/05 22:31:28
ECR #399840 - OpenCL Runtime HW Debug support development - APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#1 add
2014-12-05 22:36:08 -05:00
foreman 9571fcfc9b P4 to Git Change 1103193 by wchau@wchau_WINDOWS7_OCL on 2014/12/05 22:31:28
ECR #399840 - OpenCL Runtime HW Debug support development - APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#1 add


[ROCm/clr commit: 801fcec2fe]
2014-12-05 22:36:08 -05:00
foreman 801fcec2fe P4 to Git Change 1103193 by wchau@wchau_WINDOWS7_OCL on 2014/12/05 22:31:28
ECR #399840 - OpenCL Runtime HW Debug support development - APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#1 add
2014-12-05 22:36:08 -05:00
foreman 100a1e5fd5 P4 to Git Change 1102960 by gandryey@gera-dev-w7 on 2014/12/05 10:51:47
EPR #410824 - [CQE OCL][CZ][S/G][QR] Two Bolt sample failing on CPU; Faulty CL: 1101352
	- The test performs double maps with different map flags. Optimization could choose different map schemes for each call and memory coherency could be broken. Add extra conditions to detect multiple maps and use the same  path as the first map.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#45 edit


[ROCm/clr commit: a1202e54be]
2014-12-05 11:07:57 -05:00
foreman a1202e54be P4 to Git Change 1102960 by gandryey@gera-dev-w7 on 2014/12/05 10:51:47
EPR #410824 - [CQE OCL][CZ][S/G][QR] Two Bolt sample failing on CPU; Faulty CL: 1101352
	- The test performs double maps with different map flags. Optimization could choose different map schemes for each call and memory coherency could be broken. Add extra conditions to detect multiple maps and use the same  path as the first map.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#45 edit
2014-12-05 11:07:57 -05:00
foreman 4ebfb6d910 P4 to Git Change 1102842 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/05 03:03:04
EPR #010002 - Change OpenCL version number from 1697 to 1698.

Affected files ...

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


[ROCm/clr commit: 3444e16d99]
2014-12-05 03:15:11 -05:00
foreman 3444e16d99 P4 to Git Change 1102842 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/05 03:03:04
EPR #010002 - Change OpenCL version number from 1697 to 1698.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1444 edit
2014-12-05 03:15:11 -05:00
foreman 5aa6a01f52 P4 to Git Change 1102693 by jsjodin@jsjodin_linux_avx_hsa on 2014/12/04 17:11:26
ECR #304775 - Change the way SIGFPE is handled.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/thread.hpp#14 edit


[ROCm/clr commit: 024acc392e]
2014-12-04 17:19:31 -05:00
foreman 024acc392e P4 to Git Change 1102693 by jsjodin@jsjodin_linux_avx_hsa on 2014/12/04 17:11:26
ECR #304775 - Change the way SIGFPE is handled.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpucommand.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/thread/thread.hpp#14 edit
2014-12-04 17:19:31 -05:00
foreman 75a107518d P4 to Git Change 1102435 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/04 03:00:13
EPR #010002 - Change OpenCL version number from 1696 to 1697.

Affected files ...

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


[ROCm/clr commit: 2d58fc417b]
2014-12-04 03:12:23 -05:00
foreman 2d58fc417b P4 to Git Change 1102435 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/04 03:00:13
EPR #010002 - Change OpenCL version number from 1696 to 1697.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1443 edit
2014-12-04 03:12:23 -05:00
foreman fba461ffe5 P4 to Git Change 1102328 by gandryey@gera-dev-w7 on 2014/12/03 18:56:06
EPR #410736 - [CQE OCL][ISV][QR][G] FFMPEG app generating corrupted video output; Faulty CL:1101352
	- Add detection for AHP allocation.
	 FFmpeg uses AHP allocations with CL_MAP_READ flag, but actually performs CPU write into the buffer. With indirect map runtime executes useless transfer on map and doesn't write updated memory on unmap, because a wrong flag sent by the app.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#341 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/TestList.cpp#40 edit


[ROCm/clr commit: f9f5df731e]
2014-12-03 19:02:40 -05:00
foreman f9f5df731e P4 to Git Change 1102328 by gandryey@gera-dev-w7 on 2014/12/03 18:56:06
EPR #410736 - [CQE OCL][ISV][QR][G] FFMPEG app generating corrupted video output; Faulty CL:1101352
	- Add detection for AHP allocation.
	 FFmpeg uses AHP allocations with CL_MAP_READ flag, but actually performs CPU write into the buffer. With indirect map runtime executes useless transfer on map and doesn't write updated memory on unmap, because a wrong flag sent by the app.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#341 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/TestList.cpp#40 edit
2014-12-03 19:02:40 -05:00
foreman 0e671f4cb6 P4 to Git Change 1102071 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/03 03:00:15
EPR #010002 - Change OpenCL version number from 1695 to 1696.

Affected files ...

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


[ROCm/clr commit: 750e1bf9bd]
2014-12-03 14:12:22 -05:00
foreman 750e1bf9bd P4 to Git Change 1102071 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/03 03:00:15
EPR #010002 - Change OpenCL version number from 1695 to 1696.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1442 edit
2014-12-03 14:12:22 -05:00
foreman a5f74e1dbb P4 to Git Change 1101483 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/01 03:00:18
EPR #010002 - Change OpenCL version number from 1694 to 1695.

Affected files ...

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


[ROCm/clr commit: 6824541acd]
2014-12-03 01:01:52 -05:00
foreman 6824541acd P4 to Git Change 1101483 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/12/01 03:00:18
EPR #010002 - Change OpenCL version number from 1694 to 1695.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1441 edit
2014-12-03 01:01:52 -05:00
foreman 332cebf3b8 P4 to Git Change 1101372 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/29 03:00:11
EPR #010002 - Change OpenCL version number from 1693 to 1694.

Affected files ...

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


[ROCm/clr commit: ba8e6fefbe]
2014-11-29 03:11:48 -05:00
foreman ba8e6fefbe P4 to Git Change 1101372 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/11/29 03:00:11
EPR #010002 - Change OpenCL version number from 1693 to 1694.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1440 edit
2014-11-29 03:11:48 -05:00
foreman c2a64b89f6 P4 to Git Change 1101359 by weizhang@msdnweizhang-opencl on 2014/11/28 18:31:24
EPR #397491 - Replace "switch" with "if" so that new ASIC id doesn't need to be added.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#103 edit


[ROCm/clr commit: afe1835f56]
2014-11-28 18:47:54 -05:00
foreman afe1835f56 P4 to Git Change 1101359 by weizhang@msdnweizhang-opencl on 2014/11/28 18:31:24
EPR #397491 - Replace "switch" with "if" so that new ASIC id doesn't need to be added.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#103 edit
2014-11-28 18:47:54 -05:00
foreman e85c8c464b P4 to Git Change 1101352 by gandryey@gera-dev-w7 on 2014/11/28 18:03:18
ECR #304775 - Make optimization for read map of USWC memory
	- If runtime detects USWC map with read operation, then it will switch to indirect map. This should improve map-read  performance on APU(s)  when USWC memory is used instead of frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#486 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#26 edit


[ROCm/clr commit: c0216ada76]
2014-11-28 18:11:36 -05:00
foreman c0216ada76 P4 to Git Change 1101352 by gandryey@gera-dev-w7 on 2014/11/28 18:03:18
ECR #304775 - Make optimization for read map of USWC memory
	- If runtime detects USWC map with read operation, then it will switch to indirect map. This should improve map-read  performance on APU(s)  when USWC memory is used instead of frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#486 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#26 edit
2014-11-28 18:11:36 -05:00
foreman f43897e51e P4 to Git Change 1101352 by gandryey@gera-dev-w7 on 2014/11/28 18:03:18
ECR #304775 - Make optimization for read map of USWC memory
	- If runtime detects USWC map with read operation, then it will switch to indirect map. This should improve map-read  performance on APU(s)  when USWC memory is used instead of frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#486 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#26 edit


[ROCm/clr commit: 6d464be252]
2014-11-28 18:11:36 -05:00
foreman 6d464be252 P4 to Git Change 1101352 by gandryey@gera-dev-w7 on 2014/11/28 18:03:18
ECR #304775 - Make optimization for read map of USWC memory
	- If runtime detects USWC map with read operation, then it will switch to indirect map. This should improve map-read  performance on APU(s)  when USWC memory is used instead of frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#172 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#486 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#340 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsamemory.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsavirtual.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#26 edit
2014-11-28 18:11:36 -05:00
foreman de5e6ef163 P4 to Git Change 1101351 by skudchad@skudchad_test_win_opencl2 on 2014/11/28 17:32:17
EPR #403782 - IOMMU2/SVM
	- For finegrainsystem, the app can pass a malloced pointer directly to the kernel. Copy pointer directly to the aqlArgBuf without exiting.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#269 edit


[ROCm/clr commit: 2ba0f2a112]
2014-11-28 17:45:30 -05:00