Commit Graph

35644 Commits

Author SHA1 Message Date
Ramesh Errabolu (xN/A) TX 21449d717f ECR #333755 - Add helper files to load Hsail Text files and assembled them into Brig files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127109]
2015-03-03 19:41:56 -05:00
Ding, Wei (xN/A) TX ee474cfcbf ECR #333755 - Added missing header file.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127058]
2015-03-03 17:37:41 -05:00
Ding, Wei (xN/A) TX 8c6347a57d ECR #333755 - Reformat the base class.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126978]
2015-03-03 15:16:59 -05:00
Oded Gabbay aba396bc52 Call __fmm_release with gpu id and not index
__fmm_release expects gpu_id as parameter. fmm_release passed it instead the
index of the GPU in the gpu_mem array.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-03-03 15:23:57 +02:00
foreman eeb5da2ac2 P4 to Git Change 1126745 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/03/03 03:01:23
EPR #010002 - Change OpenCL version number from 1745 to 1746.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1492 edit
2015-03-03 03:23:25 -05:00
foreman a8349b692f P4 to Git Change 1126570 by gandryey@gera-dev-w7 on 2015/03/02 18:19:35
ECR #304775 - In addition to CL#1126564
	- Keep just tile index field from the parent

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#209 edit
2015-03-02 19:20:37 -05:00
foreman fb80e6657b P4 to Git Change 1126564 by gandryey@gera-dev-w7 on 2015/03/02 18:12:07
ECR #304775 - Use the tiling index from the parent object instead of forcing it to 0.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#208 edit
2015-03-02 19:15:46 -05:00
foreman 50ff8414fb P4 to Git Change 1126532 by gandryey@gera-dev-w7 on 2015/03/02 17:19:16
ECR #304775 - Don't report depth stencil write support

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#88 edit
2015-03-02 17:54:56 -05:00
foreman 006d563073 P4 to Git Change 1126532 by gandryey@gera-dev-w7 on 2015/03/02 17:19:16
ECR #304775 - Don't report depth stencil write support

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#88 edit
2015-03-02 17:54:56 -05:00
Ding, Wei (xN/A) TX 6979c0ae65 ECR #333755 - Move Finailzer V1 to Finalizer V3 for MatrixMultiplcation, MatriTranspose, NBody, BitonicSort, DwtHarr1D.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126410]
2015-03-02 13:48:54 -05:00
Ramesh Errabolu (xN/A) TX 42c4f2ad9f ECR #333755 - Move MonteCarloAsian Sample to use 1.0F Finalizer Apis
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126145]
2015-03-01 14:46:16 -05:00
Ramesh Errabolu (xN/A) TX ac0f32d1f9 ECR #333755 - Move FloydWarshall Sample to use 1.0F Finalizer Apis
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126142]
2015-03-01 13:58:01 -05:00
Ramesh Errabolu (xN/A) TX 75f94bb91b ECR #333755 - Move FastWalshTransform Sample to use 1.0F Finalizer Apis
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126141]
2015-03-01 13:44:07 -05:00
Ramesh Errabolu (xN/A) TX 852dd93f28 ECR #333755 - Update Blackscholes to use 1.0F Finalizer Apis
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126133]
2015-03-01 12:32:58 -05:00
Ramesh Errabolu (xN/A) TX ce2ff7844f ECR #333755 - Move BinarySearch Sample to use 1.0F Finalizer Apis
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126132]
2015-03-01 12:22:53 -05:00
Oded Gabbay 13e0d87733 Disable SDMA queue creation
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-03-01 14:40:16 +02:00
Oded Gabbay 417e6f7501 Revert "Disable SDMA queue creation"
This reverts commit f3ac33230e.
2015-03-01 14:36:45 +02:00
Oded Gabbay f3ac33230e Disable SDMA queue creation
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-03-01 11:08:46 +02:00
foreman 3bb911a606 P4 to Git Change 1126103 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/28 03:00:11
EPR #010002 - Change OpenCL version number from 1744 to 1745.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1491 edit
2015-02-28 03:10:47 -05:00
Ding, Wei (xN/A) TX 5133807246 ECR #333755 - BitonicSort typo fix.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126046]
2015-02-27 21:20:09 -05:00
Ding, Wei (xN/A) TX 2a923d9b7c ECR #333755 - Fixed miscs errors, clean up repo.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126044]
2015-02-27 21:00:20 -05:00
Ramesh Errabolu (xN/A) TX f6fccf5f2f ECR #333755 - Move Hsa Sample SimpleConvolution from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126037]
2015-02-27 20:06:28 -05:00
Ramesh Errabolu (xN/A) TX fc2ef8d516 ECR #333755 - Move Hsa Sample MonteCarloAsian from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126032]
2015-02-27 20:00:47 -05:00
Ramesh Errabolu (xN/A) TX 13ed7ab373 ECR #333755 - Move Hsa Sample FastWalshTransform from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126028]
2015-02-27 19:52:31 -05:00
Ramesh Errabolu (xN/A) TX 89b5a60e58 ECR #333755 - Move Hsa Sample FloydWarshall from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126027]
2015-02-27 19:46:47 -05:00
Ramesh Errabolu (xN/A) TX 47d96984b7 ECR #333755 - Move Hsa Sample BlackScholes from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126026]
2015-02-27 19:38:44 -05:00
Ramesh Errabolu (xN/A) TX 26575ed9ba ECR #333755 - Move Hsa Sample BinarySearch from Hsa Sdk project to current Runtime/Samples
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126024]
2015-02-27 19:29:01 -05:00
foreman ac68112eaf P4 to Git Change 1125977 by gandryey@gera-dev-w7 on 2015/02/27 17:13:17
ECR #304775 - Enable TC compatible htile mode by default.
	- The feature is available on VI+, but interop just requires different tiling mode.
	- In the future we may need another way to control this feature for interop.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#108 edit
2015-02-27 17:23:50 -05:00
foreman d09c098f87 P4 to Git Change 1125734 by emankov@em-hsa-amd on 2015/02/27 07:53:34
ECR #333753 - HSA HLC/Compiler Lib: Fix which restores global option HLC_Disable_Amd_Inline_All to false after switching stack HSAIL -> AMDIL on RT.

	Also it fixes ocl 20 conformance basic subtests (readimage, writeimage) failed on enabling calls (-hsail-enable-calls), where such switching takes place.

	Testing: smoke, precheck-in

	Reviewer: Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#22 edit
2015-02-27 08:24:42 -05:00
foreman 973748fba9 P4 to Git Change 1125661 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/27 03:00:12
EPR #010002 - Change OpenCL version number from 1743 to 1744.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1490 edit
2015-02-27 03:15:19 -05:00
foreman 348bfd35d9 P4 to Git Change 1125439 by bdhanase@bala_workpc_ocl on 2015/02/26 14:21:49
EPR #405824 - Back out changelist 1125022 because of failures in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#497 edit
2015-02-26 14:33:04 -05:00
Ding, Wei (xN/A) TX e3fc8c2dc3 ECR #333755 - Modified Makefile for adding NBody.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1125417]
2015-02-26 13:05:52 -05:00
foreman 3446badda8 P4 to Git Change 1125262 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/26 03:00:14
EPR #010002 - Change OpenCL version number from 1742 to 1743.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1489 edit
2015-02-26 03:11:59 -05:00
Ding, Wei (xN/A) TX 73ee35924a ECR #333755 - Modified Makefile for appls: DwtHarr1D BitionicSort
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1125137]
2015-02-25 19:31:21 -05:00
Ding, Wei (xN/A) TX 86878c6675 ECR #333755 - Clean up HSA SDK apps generated intermediate files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1125135]
2015-02-25 19:25:57 -05:00
Ding, Wei (xN/A) TX 41dc8c58e7 ECR #333755 - Added HSA SDK app: BitonicSort
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1125122]
2015-02-25 18:21:47 -05:00
Oded Gabbay e62d46ba1c Don't alloc/free VRAM in map/unmap paths
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-02-25 22:49:11 +02:00
Oded Gabbay 027ca02f2e reformat memory and fmm functions according to kernel coding style
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2015-02-25 22:49:08 +02:00
foreman 4bef580334 P4 to Git Change 1125022 by bdhanase@bala_workpc_ocl on 2015/02/25 15:03:52
EPR #405824 - Remove #ifdef ATI_OS_WIN for the maxMemAllocSize_ calculation

	Reviewed by: German

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#496 edit
2015-02-25 15:34:47 -05:00
Ding, Wei (xN/A) TX 9d9ea2ad3b ECR #333755 - Added two HSA samples: MatrixMultiplication, MatrixTranspose
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1124951]
2015-02-25 13:05:59 -05:00
foreman eb14d64068 P4 to Git Change 1124798 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/25 03:00:13
EPR #010002 - Change OpenCL version number from 1741 to 1742.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1488 edit
2015-02-25 03:11:30 -05:00
foreman a8de6ca08f P4 to Git Change 1124370 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/24 03:02:19
EPR #010002 - Change OpenCL version number from 1740 to 1741.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1487 edit
2015-02-24 03:11:09 -05:00
foreman 2b6c49020a P4 to Git Change 1124329 by gandryey@gera-w8 on 2015/02/23 19:50:45
ECR #304775 - Enable CL-GL depth extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#303 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#116 edit
2015-02-23 19:59:07 -05:00
foreman 06eef1ea0f P4 to Git Change 1124028 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/22 03:00:12
EPR #010002 - Change OpenCL version number from 1739 to 1740.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1486 edit
2015-02-22 03:10:55 -05:00
foreman 797c89da4e P4 to Git Change 1123993 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/21 03:00:12
EPR #010002 - Change OpenCL version number from 1738 to 1739.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1485 edit
2015-02-21 03:16:30 -05:00
foreman 9ed8da78bb P4 to Git Change 1123713 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/02/20 03:00:12
EPR #010002 - Change OpenCL version number from 1737 to 1738.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1484 edit
2015-02-20 03:09:42 -05:00
foreman 66c0fd4aa5 P4 to Git Change 1123622 by wchau@wchau_WINDOWS7_OCL on 2015/02/19 17:52:17
ECR #399840 - OpenCL Runtime HW Debug support development

	- use device to control debugger registration and exception notification so that debug event will not be tied to any particular queue.
	- use aqlCodeInfo parameter for clHwDbgMapKernelCodeAMD() to be consistent with clHwDbgGetAqlPacketInfoAMD()

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#352 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#6 edit
2015-02-19 19:40:35 -05:00
foreman 3e53caa02e P4 to Git Change 1123622 by wchau@wchau_WINDOWS7_OCL on 2015/02/19 17:52:17
ECR #399840 - OpenCL Runtime HW Debug support development

	- use device to control debugger registration and exception notification so that debug event will not be tied to any particular queue.
	- use aqlCodeInfo parameter for clHwDbgMapKernelCodeAMD() to be consistent with clHwDbgGetAqlPacketInfoAMD()

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_debugger_amd.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugmanager.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#352 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hwdebug.hpp#6 edit
2015-02-19 19:40:35 -05:00
foreman 861ef524fb P4 to Git Change 1123388 by asalmanp@asalmanp-opencl-stg1 on 2015/02/19 09:39:12
EPR #394115 - [OpenCL] Adding support for Baffin (gfx8) and removing Bermuda IDs as it's canceled for production.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/devStateSI.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/devState.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scCompileBase.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil64.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDIL.h#109 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILSubtarget.cpp#207 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/Internal/InternalProcessors.td#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#495 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#302 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#107 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#21 edit
2015-02-19 09:46:45 -05:00
foreman 913f1421ca P4 to Git Change 1123371 by akasauro@spb-hlc-tn9-hsa on 2015/02/19 07:20:48
ECR #333756 - tree clean up to prepare for removal of obsolete sc-hsa from stg/opencl
	       Testing: PSDB

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/Android.mk#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/new_make/README#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/Android.mk#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/llvm-device-build.mk#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudebugger.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#107 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#351 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/build/Makefile.oclhsa#4 edit
2015-02-19 07:33:38 -05:00