Commit graph

13197 Commits

Autor SHA1 Nachricht Datum
Aditya Atluri 8e8939d775 changed hipTestDeviceSymbol test to compile for both nvcc and hcc path
Change-Id: I041770ad59d4f88d0c8d27d90cdc8a799935ada1
2016-10-11 13:50:31 -05:00
Aditya Atluri 5274244f7e added hipMemcpySymbol feature to nvcc path
Change-Id: I78d45036083fba62d2b2e4e58f9c72cb4e6eb54f
2016-10-11 13:34:54 -05:00
Aditya Atluri 0bf811b875 added more changes to memcpytosymbol
1. Refactored code to use HCC internal APIs rather than HCC copy APIs
2. Added hipMemcpyToSymbolAsync
3. Added test for hipMemcpyToSymbolAsync
4. Added new error hipErrorInvalidSymbol

Change-Id: I0e359b2d0ff5d682bbccdf9c2923e16b35e39497
2016-10-11 13:29:46 -05:00
Aditya Atluri 89b576da65 Added feature for memcpy to Symbol
1. Currently works only for __attribute__((addrspace(1))
2. Need to pass in string for name of the variable
3. Added test to check functionality

Change-Id: I4c3cc1bf151cb5423e4aef59fcc4ad5693b31641
2016-10-11 12:09:58 -05:00
foreman 0d3de2786b P4 to Git Change 1324787 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2240 to 2241.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1987 edit
2016-10-11 03:12:41 -04:00
Maneesh Gupta 3f369d0599 packaging: create soft-links for .hipVersion & .buildInfo
Change-Id: Iabcd2224062ecd7742892d0574a74dced2d547b2
2016-10-11 11:15:10 +05:30
Maneesh Gupta 7e277ef6e5 .buildInfo -> .hipInfo & .version -> .hipVersion
Change-Id: I8023f4349621fd81c58615737b7e897649e0f7ca
2016-10-11 11:13:41 +05:30
Aditya Atluri 09c9953649 added threadfence feature for hcc
1. Added feature for __threadfence and __threadfence_block
2. Added feature for using LLVM IR files directly while compilation
3. Added test for threadfence and threadfence_block

Change-Id: Ib7e5d89b4cca1a135952b317e5809cd05b56a3c9
2016-10-10 15:29:50 -05:00
foreman 826a23d8c2 P4 to Git Change 1324475 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2239 to 2240.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1986 edit
2016-10-10 03:13:03 -04:00
Maneesh Gupta b59659f0c7 Add back deprecated hipHostAlloc, hipMallocHost, hipFreeHost
Change-Id: Ib8494078c852b07e1958c3acc21fa1866542122c
2016-10-09 16:30:46 +05:30
Maneesh Gupta 900746656c hip_hcc package: set dependency on rocm-profiler only if COMPILE_HIP_ATP_MARKER=1
Change-Id: Ib0424a984546e9f770f280f8559b4a716badcc77
2016-10-09 16:01:47 +05:30
foreman 19e43ac9a8 P4 to Git Change 1324342 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2238 to 2239.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1985 edit
2016-10-09 03:08:02 -04:00
foreman 961443a8cd P4 to Git Change 1324274 by lmoriche@lmoriche_opencl_dev on 2016/10/08 15:25:08
SWDEV-103782 - [ROCm CQE][OCLonLC][Hawaii][ISV] Mixbench is giving "Unsupported requested OpenCL C version (-cl-std)"
	- Add cl-std=CL1.0 and cl-std=CL1.1 support (maps to cl-std=CL1.2).

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#24 edit
2016-10-08 15:34:50 -04:00
foreman 6a0324cf72 P4 to Git Change 1324182 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2237 to 2238.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1984 edit
2016-10-08 03:12:11 -04:00
foreman 9d739c200c P4 to Git Change 1323915 by gandryey@gera-w8 on 2016/10/07 12:59:30
SWDEV-104441 - [SSG] OpenCL has not implemented the asynchronous transfer
	- Use lock protection for multiple maps of persistent memory
	- Don't mark persistent as host mem
	- Implement file write for invisible memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#408 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#77 edit
2016-10-07 13:07:19 -04:00
Maneesh Gupta 7f96f77d5c Merge branch 'amd-develop' into amd-master
Change-Id: I4e5fe28aea06abf2780e28bcf58d0742aad0c25d
2016-10-07 22:22:08 +05:30
foreman e8488126a8 P4 to Git Change 1323904 by asalmanp@asalmanp-opencl-stg on 2016/10/07 12:18:30
SWDEV-104662 - [CQE OCL][Lexa][QR]: ERROR: clBuildProgram(-11) on running clinfo; Faulty CL 1322829

	Fixing a regression caused by CL#1322829. the core gfxipVersion for Lexa should be 800 and this is what it's used in ORCAHSALoaderContext::IsaSupportedByAgent @gpuprogram.cpp

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#143 edit
2016-10-07 12:26:34 -04:00
Maneesh Gupta 5dc8a6a9e8 Fixed typos in packaging script for hip_hcc package
Change-Id: I79237e7364518066585d5c88bd54e3b30f832076
2016-10-07 15:44:59 +05:30
foreman ca767554fe P4 to Git Change 1323734 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2236 to 2237.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1983 edit
2016-10-07 03:13:43 -04:00
Maneesh Gupta c4dd17cce9 Remove deprecated make and cmake files
Change-Id: I8cac0ec9cb997214559627425af207bbb9be0ddf
2016-10-07 11:44:26 +05:30
foreman 075595662e P4 to Git Change 1323311 by lmoriche@lmoriche_opencl_dev on 2016/10/06 13:26:29
SWDEV-94610 - Set the -mcpu target, and add -m32/64.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#23 edit
2016-10-06 13:35:57 -04:00
foreman eab67ad458 P4 to Git Change 1323111 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/06 03:00:04
SWDEV-2 - Change OpenCL version number from 2235 to 2236.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1982 edit
2016-10-06 03:10:32 -04:00
Maneesh Gupta 747c63bee5 Set _binary_kernel_* symbol value to 1
Change-Id: I92255a8238a8084010662a3ccf5d624dd2d352c0
2016-10-06 09:50:35 +05:30
Maneesh Gupta 4d511f1ed7 Merge github pull request #41 from ekondis/master into amd-develop
Change-Id: I0b32cc7479d5e17895e0a5dffecd23c4b614518e
2016-10-06 09:32:45 +05:30
Elias Konstantinidis 49534c5ea9 Enabled tests for __mul24 & __umul24 2016-10-06 09:29:56 +05:30
Elias Konstantinidis 4c8be4c655 Added __mul24 & __umul24 documentation entry 2016-10-06 09:29:45 +05:30
Elias Konstantinidis adc763f440 Added support for __mul24 and __umul24 2016-10-06 09:29:36 +05:30
foreman 2c2b4ecb26 P4 to Git Change 1322968 by lmoriche@lmoriche_opencl_dev on 2016/10/05 17:07:27
SWDEV-104521 - [SSG] OpenCL API rename

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#407 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.h#4 edit
2016-10-05 17:20:44 -04:00
foreman 7ed9620393 P4 to Git Change 1322968 by lmoriche@lmoriche_opencl_dev on 2016/10/05 17:07:27
SWDEV-104521 - [SSG] OpenCL API rename

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#407 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.h#4 edit
2016-10-05 17:20:44 -04:00
foreman ab39bb038d P4 to Git Change 1322831 by lmoriche@lmoriche_opencl_dev on 2016/10/05 13:37:49
SWDEV-104457 - The spec says that the size allocated for value should be greater or equal to the size of the returned parameter. For string parameters, we should try to fill as much of the string as we can until we return an error.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#18 edit
2016-10-05 13:52:10 -04:00
foreman 926e59ce0b P4 to Git Change 1322829 by asalmanp@asalmanp-opencl-stg on 2016/10/05 13:35:20
SWDEV-79278 - Expose Lexa as "gfx804" and Vega10 as "gfx900" in mainline.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#35 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#34 edit
2016-10-05 13:47:07 -04:00
Maneesh Gupta eb1fce0d77 clang-hipify -> hipify-clang in documentation
Change-Id: I86ebc8112477db0d3e09f240beb3f9222d909ee6
2016-10-05 23:07:14 +05:30
Maneesh Gupta 398d45c677 hip_doc package: Update markdown to html script
Change-Id: Ic7fe4f4df71621789ef4c0ce8103752ea32f3fd8
2016-10-05 23:01:52 +05:30
Maneesh Gupta eb78b13a6f Update hip_hcc packaging steps
Change-Id: I0ab16d8aef1dd33a971f73b3a6faa067df495d55
2016-10-05 22:58:04 +05:30
Ben Sander 250f711ed0 Add DISABLE_COPY_EXT option. 2016-10-05 12:18:42 -05:00
Ben Sander 8cb899ccf9 Update docs (supported env vars). 2016-10-05 12:18:42 -05:00
Ben Sander 3ea5aac9a3 Don't save error status on ihip function. 2016-10-05 12:18:42 -05:00
Ben Sander 6950d3f9e9 Add HIP_BLOCKING_SYNC environment var to control stream sync behavior. 2016-10-05 12:18:42 -05:00
Maneesh Gupta ccc695d685 Add back rocm-profiler as a dependency for hip_hcc package
This reverts commit 8b272278f5.
2016-10-05 22:39:42 +05:30
Maneesh Gupta 656c1766ea Add packaging steps for hipify-clang
Change-Id: I0ed916d5fcb4fc4734f1d92e686fc053e4680052
2016-10-05 22:34:42 +05:30
Maneesh Gupta 11fd56ed5d clang-hipify -> hipify-clang. Also attempt to build it by default
Change-Id: I694e6c772f5347c820d9bd6c9aa61d6d9696911e
2016-10-05 13:06:22 +05:30
foreman cd59b49eca P4 to Git Change 1322609 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/05 03:00:04
SWDEV-2 - Change OpenCL version number from 2234 to 2235.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1981 edit
2016-10-05 03:11:54 -04:00
Maneesh Gupta 948d94def8 hipcc: Updated to use new include path
Change-Id: I4de6bb6978f2908dbb4d4cfd6e394d21fed90dd5
2016-10-05 10:54:42 +05:30
foreman 48d2ffaaf3 P4 to Git Change 1322291 by gandryey@gera-w8 on 2016/10/04 13:47:50
SWDEV-103536 - [CQE OCL][OpenCL on PAL] 32/64bit "SimpleMultiDevice" OpenCL SDK Sample is Failing
	- Switch to std::queue for the batch list

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#13 edit
2016-10-04 14:07:56 -04:00
Maneesh Gupta e388f775a3 doxy.cfg: Fixed to use updated include path
Change-Id: I21149d3dd3111eaf8c23ff8550a1303d339f5c5d
2016-10-04 22:29:40 +05:30
Maneesh Gupta ead394ec09 samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab
2016-10-04 22:21:10 +05:30
Maneesh Gupta 5947878247 directed tests: Updated to use new hip include path
Change-Id: Iab1aee638b7158eb9674a19625dedf6471947e51
2016-10-04 22:20:50 +05:30
Maneesh Gupta 57715b967f hip_base package: Updated to handle updated hip include path
Change-Id: I936516874cef4ab551d613303fde32ffe2c6c805
2016-10-04 22:19:52 +05:30
Maneesh Gupta 75b2ff1c3f Update hipify-clang to generate updated hip_runtime header path
Change-Id: I64ceb037f2aa68e4e8d254be7d0bebff83061990
2016-10-04 22:18:55 +05:30
Maneesh Gupta bbfc08f419 Move include/* to include/hip/*
Change-Id: I7a7b2839b4df59c7a4c503550f99fdc9e45c0f54
2016-10-04 22:17:18 +05:30