Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
foreman 0f0ec2c5c7 P4 to Git Change 1343932 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/21 03:00:04
SWDEV-2 - Change OpenCL version number from 2281 to 2282.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2028 edit
2016-11-21 03:07:41 -05:00
foreman 2fecba9950 P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
	- Disable ROCm offline devices
	- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
	- Extract usedSGPRs and usedVGPRs for the amd kernel code header.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
2016-11-21 00:00:56 -06:00
foreman 9fbdf64025 P4 to Git Change 1343852 by lmoriche@lmoriche_opencl_dev on 2016/11/21 00:55:02
SWDEV-106175 - [ROCm CQE][OCL][G] clGetKernelInfoAMD() returns 0 vgprs ("OCLOfflineCompilation" failed with compute-roc-master#1542)
	- Disable ROCm offline devices
	- Add roc::Device::loaderQueryHostAdress to retrieve the host address of a give kernel code handle.
	- Extract usedSGPRs and usedVGPRs for the amd kernel code header.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#17 edit
2016-11-21 00:00:56 -06:00
Aditya Atluri b3c16ea7b5 Fixed hipDeviceGetCacheConfig on nvcc path
1. Changed test macro to emit line numbers
2. Added getcacheconfig api test for nvcc path
3. Fixed hipFuncCache_t data type

TODO: With this commit, right now there are 2 func cache datatypes
a. hipFuncCache_t for runtime API
b. hipFuncCache for driver API

Map these to a single data type

Change-Id: Ia47c9f5d7c2633638051bf17b1103048a1ede973
2016-11-20 12:18:08 -06:00
Aditya Atluri e0aba8647f added new test for getting attribute
1. Added copyright to all new tests
2. Added test for hipDeviceGetAttribute

Change-Id: I7a070c5b8316ef6575b3f4c49bda2769aea2a7c4
2016-11-20 11:53:16 -06:00
foreman d145efcfad P4 to Git Change 1343745 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/20 03:00:05
SWDEV-2 - Change OpenCL version number from 2280 to 2281.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2027 edit
2016-11-20 03:17:40 -05:00
Aditya Atluri cc829f04c5 added copy right to new header
Change-Id: I16e1d02194551e4b20019bcb6850a3f84882ef18
2016-11-19 23:02:56 -06:00
Aditya Atluri 6692ee09d7 added tests to check nvcc runtime api output
Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f
2016-11-19 21:36:28 -06:00
foreman 53bbf86f04 P4 to Git Change 1343667 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/19 03:00:04
SWDEV-2 - Change OpenCL version number from 2279 to 2280.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2026 edit
2016-11-19 03:12:37 -05:00
foreman 324aff16f1 P4 to Git Change 1343662 by lmoriche@lmoriche_opencl_dev on 2016/11/19 00:00:17
SWDEV-104624 - [OCL] Constant explorer.exe crash/reload occurs intermittently after driver uninstall and reinstall of WU driver
	Add a check before Runtime::init to gracefully exit the platform discovery routine if the platform is known to fail. The condition is If absolute path of the module is found in the registry (DriverStore path), and the DLL name is also found in the registry, and the same DLL is found in the System directory, then return 0 platform count.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#25 edit
2016-11-19 00:09:23 -05:00
Sandeep Kumar 1fe6890ba3 fix_format
Change-Id: I34e265de434263a11654e5deba044c3f21e86578
2016-11-18 14:34:14 +05:30
Maneesh Gupta 2195e3c37d Refactor for building HIP as dynamic library
Change-Id: I65a3d9d589c4fdbbdcf1611e5427224253be8260
2016-11-18 14:33:20 +05:30
scchan 04049feaf4 Add extra linker flags to the shared library build
Change-Id: I19e569d566fb5e25e343e364a3053a3f12659361
2016-11-18 14:18:29 +05:30
foreman c93a0ea065 P4 to Git Change 1343180 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/18 03:00:04
SWDEV-2 - Change OpenCL version number from 2278 to 2279.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2025 edit
2016-11-18 03:09:49 -05:00
Maneesh Gupta 1a67766dc5 Fix broken tests due to 9498447
Change-Id: I847c80f8462e1c955bdef957e6de2841a3a6ab29
2016-11-18 12:20:47 +05:30
foreman 2c6bcfbf8d P4 to Git Change 1342976 by todli@todli-win-opencl-kv1 on 2016/11/17 17:13:47
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	Review: http://ocltc.amd.com/reviews/r/11809/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#154 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#144 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#559 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#348 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#35 edit
2016-11-17 17:25:47 -05:00
Aditya Atluri 3b1f0e903c moved runtime macros to runtime_api.h
Change-Id: Ib47e449328e8e6ec55d1b6ee19899de4b591ea8e
2016-11-17 14:19:18 -06:00
Aditya Atluri 84d0d10fad added texture header to memory api source
Change-Id: I1af6d60aca5a9a9ef1cadf8c304bea892acbe061
2016-11-17 11:57:53 -06:00
Aditya Atluri 94984470d4 make texture as seperate header as of now
Change-Id: I3c65aa75f2f729eedd8c3292fa3cbc37709c1cfe
2016-11-17 11:55:29 -06:00
foreman c52c2ac3ff P4 to Git Change 1342492 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/17 03:00:05
SWDEV-2 - Change OpenCL version number from 2277 to 2278.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2024 edit
2016-11-17 03:08:02 -05:00
Aditya Atluri 603bb321ec Added i8 packed math intrinsics
1. Added add, sub, mul packed math i8 intrinsics
2. Removed c++ packed data structures included from HCC

Change-Id: I1d109c5ce10c48b7cd3ea059478b88fc1de78499
TODO: Add better packed data structures support
2016-11-17 01:09:12 -06:00
foreman 81bd161413 P4 to Git Change 1341844 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/16 03:00:04
SWDEV-2 - Change OpenCL version number from 2276 to 2277.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2023 edit
2016-11-16 03:08:42 -05:00
foreman fb8eb54ad0 P4 to Git Change 1341349 by gandryey@gera-w8 on 2016/11/15 10:49:00
SWDEV-86035 - Integrate PAL from //depot/stg/pal_prm/... still version 212

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/inc/core/palFence.h#2 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/inc/gpuUtil/palGpaSession.h#2 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/inc/util/palThread.h#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/res/ver.h#17 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/cmdAllocator.cpp#9 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/cmdAllocator.h#6 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/device.cpp#17 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/device.h#19 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/fence.cpp#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/fence.h#6 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/formatInfo.cpp#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6Device.cpp#18 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6PalSettings.cfg#9 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6QueueContexts.cpp#11 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9Chip.h#11 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9ComputeCmdBuffer.cpp#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9Device.cpp#19 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9Device.h#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwGs.cpp#9 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwGs.h#6 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwHs.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwHs.h#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwPs.cpp#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwPs.h#6 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwShader.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwShader.h#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwVs.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9HwVs.h#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9Image.cpp#13 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9PalSettings.cfg#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9QueueContexts.cpp#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9ScMgr.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9ScMgr.h#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9UniversalCmdBuffer.cpp#19 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfxDevice.cpp#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/rpm/gfx9/gfx9RsrcProcMgr.cpp#17 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/rpm/rsrcProcMgr.cpp#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/Makefile#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/addrinterface.h#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/core/addrelemlib.h#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/core/addrlib1.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/core/addrlib2.cpp#8 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/gfx9/chip/gfx9_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/gfx9/gfx9addrlib.cpp#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.build#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.common#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.hwLib#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.oldlib#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.os#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.standalone#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.test#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/Makefile.wdk#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/make/addrrules#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r600/chip/pele_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r800/chip/r800_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r800/chip/r8xx_r9xx_merged__enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r800/chip/si_ci_merged_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r800/chip/si_ci_vi_merged_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/r800/chip/si_enum.h#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/readme.txt#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/addrlib/releasenote.txt#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/lnx/lnxQueue.cpp#11 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/lnx/lnxQueueSemaphore.cpp#3 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winPresentTechniqueBlit.cpp#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winPresentTechniqueFifo.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winPresentTechniqueGdi.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winQueue.cpp#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winQueue.h#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/os/win/winSwapChain.cpp#9 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/queue.cpp#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/queue.h#13 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/queueSemaphore.cpp#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/queueSemaphore.h#3 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/settings.cfg#14 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/gpuUtil/gpaSession.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/util/lnx/lnxThread.cpp#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/util/win/winThread.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/tools/generate/configParser.py#4 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/tools/openSource/config/paths.txt#1 branch
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/tools/openSource/opensourcify.py#3 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/tools/openSource/opensourcifyP4Tool.py#3 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/tools/openSource/readme.txt#3 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#34 edit
2016-11-15 11:04:08 -05:00
foreman 4d6e7783e3 P4 to Git Change 1341218 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/15 03:00:04
SWDEV-2 - Change OpenCL version number from 2275 to 2276.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2022 edit
2016-11-15 03:10:12 -05:00
Maneesh Gupta 4b3d0f0e7e Merge branch 'amd-develop' into amd-master
Change-Id: I4fbb7ac287c182fea97bf31562a3d64554e59e94
2016-11-15 10:44:21 +05:30
Maneesh Gupta 0696d4417f Enable USE_COPY_EXT_V2 by default
Change-Id: I2c0dc80f85a0ccb5744715b5418a604e38b249ed
2016-11-15 10:42:27 +05:30
foreman a4deb0f9b4 P4 to Git Change 1341072 by lmoriche@lmoriche_opencl_dev on 2016/11/14 19:13:03
SWDEV-107400 - [OCL-ROCm] GPU_DEVICE_ORDINAL and GPU_DEVICE_NAME implementation missing for the ROCm device
	- Implemented device selection

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#26 edit
2016-11-14 19:21:01 -05:00
Ben Sander 2ea3f8f68e tweak hcc demangler 2016-11-14 15:26:27 -07:00
foreman aa9487fbbd P4 to Git Change 1340710 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2274 to 2275.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2021 edit
2016-11-14 03:09:48 -05:00
Maneesh Gupta 7f323161a8 Merge branch 'amd-develop' into amd-master
Change-Id: I32d41081ac065f2c50531dc2e420802d765665e2
2016-11-14 06:12:03 +05:30
Sandeep Kumar 39e1b16d0b Add p2p for cookbook
Change-Id: Id2e77ab31123ef95885d665efe34bc0d4596733a
(cherry picked from commit 6fbd0352713ca36e399b1ed4f17c486207a53875)
2016-11-14 06:10:36 +05:30
Maneesh Gupta f9d598d66c Revert "hipcc: Turn back linking hip_ir.ll by default"
This reverts commit 72a5deb91e.
2016-11-14 06:05:31 +05:30
Ben Sander 09d88d3b97 Add draft doc on profiling with hip.
Change-Id: I79727dd2500333b3f16acb381dd5852a15ed408a
2016-11-13 10:01:05 -06:00
foreman 7390eb7786 P4 to Git Change 1340533 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/13 03:00:03
SWDEV-2 - Change OpenCL version number from 2273 to 2274.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2020 edit
2016-11-13 03:07:06 -05:00
foreman 5c82dfcb99 P4 to Git Change 1340474 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/12 03:00:04
SWDEV-2 - Change OpenCL version number from 2272 to 2273.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2019 edit
2016-11-12 03:11:23 -05:00
Ben Sander d3dbf66ab1 Add &nbsp to demangler
Change-Id: I89586c7c17f5152b7a6850d0d6c2aa1d3ebc8190
2016-11-11 16:50:56 -06:00
pensun 992f94b3a1 Add direct test case for threadfence_system workaround
Change-Id: I5b21b590e957c901044741ac94e816cd8b1426f9
2016-11-11 15:09:43 -06:00
foreman 66c5d710bc P4 to Git Change 1340262 by lmoriche@lmoriche_opencl_dev on 2016/11/11 15:10:03
SWDEV-105136 - Use the "execution" view rather than the "linking" view to find the metadata and size of the program scope variables.In the "execution" view, the section header table is optional, so we should iterate through the segments to add up the size of PT_LOAD segments with read but not execute flags. We will also find the metadata in the PT_NOTE segment.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#45 edit
2016-11-11 15:35:41 -05:00
Aditya Atluri 6dcdf08e0d fixed multi-dim module kernel launch
Change-Id: Id1d81f2375d058979ab526433f905cf0ea3d23d6
2016-11-11 12:25:23 -06:00
foreman 98d1816d61 P4 to Git Change 1339963 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/11 03:00:03
SWDEV-2 - Change OpenCL version number from 2271 to 2272.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2018 edit
2016-11-11 03:12:00 -05:00
Ben Sander d666fbaafe Add option to deny peer access.
Also fix test.

Change-Id: I1b247f6c4271442b008e560669bca4daf8eb94c7
2016-11-10 23:12:48 -06:00
Ben Sander 6e54a600b6 Use forceUnpinnedCopy to resolve P2p corner cases.
Change-Id: I2aebb419881246cebb696bec87798635bc71acc2
2016-11-10 23:12:48 -06:00
Ben Sander 0eeaa3bcd5 Enable async copy again.
Also add HIP_FORCE_SYNC_COPY chicken bit.

Change-Id: I76a385410494b99bf27305d3c08f55dd81987565
2016-11-10 23:12:48 -06:00
Ben Sander 85e65b55ff Doc change only - add comments to test.
Change-Id: Ie42087cf3c78e49337b18bb71f3f0e1e7950ee1b
2016-11-10 23:12:48 -06:00
Ben Sander e767e0032e Refactor copy and P2P logic.
Prefer use of source-engine for DMA copies, even if user submits copy
in a stream attached to a different device.
The stream is now used only for synchronization, and HIP
makes the most optimal decision for which engine to perform the
copy - typically the source copy engine.

HIP now makes decision on which engine should perform the copy
and passes this to HCC using new apis.
HIP has additional information about peer
visibility and will make a decision which agent should perform
the copy .

Change-Id: I0cf4cfebeae256e6ca795f08a7ed7130f4857d1f
2016-11-10 23:12:48 -06:00
Ben Sander e9835617f1 Improve memory debug
Change-Id: I0f033139aa4e4b47039eb016e404009127bd0a44
2016-11-10 23:12:48 -06:00
foreman 90d4cf8e78 P4 to Git Change 1339888 by lmoriche@lmoriche_opencl_dev on 2016/11/10 21:21:17
SWDEV-102510 - Need a way to control cl_khr/cl_amd extension macros
	- Use -cl-ext option to enable OpenCL extensions

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#44 edit
2016-11-10 21:30:26 -05:00
foreman 30a6048658 P4 to Git Change 1339730 by lmoriche@lmoriche_opencl_dev on 2016/11/10 16:37:37
SWDEV-103793 - [ROCm CQE][OCLonLC][ISV] QCDGPU test fails
	- The runtime should not report cl_amd_fp64, cl_khr_fp64 should be used instead.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#9 edit
2016-11-10 17:04:27 -05:00
pensun 9aa2269d5c Update depreciated information for threadfence_system()
Change-Id: Id13d2f81edb51eb42b896a5c06913d59ec907c55
2016-11-10 11:55:12 -06:00
foreman a9885c5273 P4 to Git Change 1339431 by gandryey@gera-w8 on 2016/11/10 10:47:43
SWDEV-86035 - Add PAL backend to OpenCL
	- Fix a regression after LC path integration

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#24 edit
2016-11-10 11:02:24 -05:00