Commit Graph

13677 Commits

Author SHA1 Message Date
Evgeny Mankov a1c549b1e4 Merge pull request #339 from emankov/win_testing
[HIPIFY][tests][win] Fix run_test.bat

[ROCm/clr commit: 0ed239788d]
2018-01-24 18:07:16 +03:00
Alex Voicu 2640fdaf9f Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: f9e7195451]
2018-01-24 12:33:45 +00:00
foreman 83645e522a P4 to Git Change 1507110 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/24 03:00:06
SWDEV-2 - Change OpenCL version number from 2577 to 2578.

Affected files ...

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


[ROCm/clr commit: 111c3fc45c]
2018-01-24 03:30:31 -05:00
foreman 823064de6d P4 to Git Change 1506958 by lmoriche@lmoriche_opencl_dev2 on 2018/01/23 19:55:00
SWDEV-1 - Cleanups required to build with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#173 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/aplexport.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#29 edit


[ROCm/clr commit: 01c1113f81]
2018-01-23 20:03:32 -05:00
foreman ff21931af8 P4 to Git Change 1506952 by lmoriche@lmoriche_opencl_dev2 on 2018/01/23 19:37:39
SWDEV-1 - Cleanups required to build with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#172 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/glibc_functions.cpp#2 edit


[ROCm/clr commit: 99de4302cf]
2018-01-23 19:42:53 -05:00
foreman 47c9539c88 P4 to Git Change 1506949 by skeely@skeely_LC_linux on 2018/01/23 19:20:01
SWDEV-94389 - Handle interop buffer creation failure.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#56 edit


[ROCm/clr commit: c0f4b7895e]
2018-01-23 19:29:17 -05:00
foreman bec84b6503 P4 to Git Change 1506901 by lmoriche@lmoriche_opencl_dev2 on 2018/01/23 17:08:11
SWDEV-1 - Cleanups required to build with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#171 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/glibc_functions.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/spirv-tools/spirvdefs#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/make/llvm.git/llvmdefs#10 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#225 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/build/Makefile.palbe#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/imported/jemalloc/make/Makefile.jemalloc#3 edit
... //depot/stg/opencl/drivers/opencl/support/libcxx/build/Makefile.libcxx#6 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/clinfo.cpp#4 edit


[ROCm/clr commit: 59df136c4c]
2018-01-23 17:26:10 -05:00
Evgeny Mankov cbbf54d122 [HIPIFY][fix] CUDA and cuBLAS main headers correct handling
[ROCm/clr commit: aaa9559768]
2018-01-23 23:43:36 +03:00
Evgeny Mankov d3d192e62c [HIPIFY][fix] Fix PragmaDirective
File location have to be verified, otherwise location of the first found '#pragma once' in any included header even system will be erroneously handled, which might lead to attempt to including hip_runtime.h in it.


[ROCm/clr commit: b9fc653b08]
2018-01-23 23:06:55 +03:00
foreman ec5927105d P4 to Git Change 1506772 by skudchad@skudchad_test2_win_opencl on 2018/01/23 14:28:37
SWDEV-143124 - [CQE OCL][DTB][ISV][QR][DTB-BLOCKER] Applications (Both 64/32-bit) are not running on Win 7 due to faulty CL#1503998
	- Load module explicitly rather than relying on it being loaded.
	- fix a bug in Khronos ICD integration code

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_hkr.c#2 edit


[ROCm/clr commit: 2941f9f808]
2018-01-23 14:36:15 -05:00
Evgeny Mankov f78369ce58 [HIPIFY][tests][win] Uncomment @echo off
[ROCm/clr commit: 35bd23fb07]
2018-01-23 21:46:27 +03:00
Evgeny Mankov 34b797d7f2 [HIPIFY][tests][win] Fix run_test.bat
All checks should not occur in input file for FileCheck. The issue found on CHECK-NOT.
Change removes all lit checks in the hipified file based on regexp, and the resulted stdout is fed as stdin for FileCheck.


[ROCm/clr commit: 8fae5663d2]
2018-01-23 21:43:18 +03:00
foreman 15d8e4b07f P4 to Git Change 1506644 by wchau@wchau_OCL_boltzmann on 2018/01/23 10:34:36
SWDEV-140733 - Raven Bring Up - OCLCreateImage

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#32 edit


[ROCm/clr commit: 6a82783a0b]
2018-01-23 10:40:39 -05:00
foreman ebe403ff80 P4 to Git Change 1506555 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/23 03:00:04
SWDEV-2 - Change OpenCL version number from 2576 to 2577.

Affected files ...

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


[ROCm/clr commit: 52ed335dc9]
2018-01-23 03:11:36 -05:00
foreman b9ee3be576 P4 to Git Change 1506436 by skudchad@skudchad_test2_win_opencl on 2018/01/22 18:54:50
SWDEV-143124 - [CQE OCL][DTB][ISV][QR][DTB-BLOCKER] Applications (Both 64/32-bit) are not running on Win 7 due to faulty CL#1503998
	- Use GetProcAddress to check gdi32.dll for D3DKMTEnumAdapters2

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#3 edit


[ROCm/clr commit: 25a8e9bca8]
2018-01-22 19:01:34 -05:00
Evgeny Mankov 653517758c Merge pull request #336 from emankov/hipBLAS
[HIPIFY] Sync with hipBLAS ToT and CUDA cuBLAS 9.1

[ROCm/clr commit: 41ef118a10]
2018-01-22 17:57:15 +03:00
Evgeny Mankov d88edc8874 [HIPIFY] Sync with hipBLAS ToT and CUDA cuBLAS 9.1
[ROCm/clr commit: 1ecb5b5901]
2018-01-22 17:12:02 +03:00
foreman e2d58f1a9f P4 to Git Change 1506119 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/22 03:00:05
SWDEV-2 - Change OpenCL version number from 2575 to 2576.

Affected files ...

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


[ROCm/clr commit: 998af283f2]
2018-01-22 03:08:51 -05:00
foreman 32eb0497d0 P4 to Git Change 1506005 by skudchad@skudchad_test2_win_opencl on 2018/01/21 20:49:00
SWDEV-143358 - [IV][Redstone3_64]Crashed observed while running CLinfo and Opencl samples are not starting on AI BAFFIN,AI ELLESMERE,VEGA,RAVEN,AI LEXA.
	- Return false if KMTQAITYPE_QUERYREGISTRY query fails for D3DKMTQueryAdapterInfo

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_windows_dxgk.c#2 edit


[ROCm/clr commit: 4bb8a13cfe]
2018-01-21 20:56:24 -05:00
foreman d138537be9 P4 to Git Change 1505949 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/20 03:00:04
SWDEV-2 - Change OpenCL version number from 2574 to 2575.

Affected files ...

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


[ROCm/clr commit: 567b0849d8]
2018-01-20 03:15:05 -05:00
foreman 2fd27167df P4 to Git Change 1505728 by wchau@wchau_OCL_boltzmann on 2018/01/19 13:13:53
SWDEV-137270 - Add findLocalWorkSize to OpenCL runtime ROC device
	- Add support for kernel using image argument
	- fix the issue of not using the max workgroup size specified by the environment variables "maxWorkGroupSize*"

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#50 edit


[ROCm/clr commit: 87ad3f9692]
2018-01-19 13:33:55 -05:00
Evgeny Mankov 47db7c8080 Merge pull request #334 from emankov/cuRAND
[HIPIFY] cuRAND lib support (Device)

[ROCm/clr commit: 74813c05a7]
2018-01-19 21:30:42 +03:00
Evgeny Mankov 51a5587d25 [HIPIFY] cuRAND lib support (Device)
[ROCm/clr commit: 5b1b3438fd]
2018-01-19 21:29:05 +03:00
foreman 09a507e8d0 P4 to Git Change 1505681 by wchau@wchau_OCL_boltzmann on 2018/01/19 11:10:00
SWDEV-143191 - OpenCL Runtime Support for Vega20 BU in ROCm
	- add device info entry for Vega20
	- modified Makefile.library to use Vega20's bitcode library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#81 edit


[ROCm/clr commit: edb9746999]
2018-01-19 11:15:37 -05:00
Evgeny Mankov f9ae4e4b6c Merge pull request #333 from emankov/cuRAND
[HIPIFY] cuRAND lib support (partial - only Host)

[ROCm/clr commit: 854a8df6e1]
2018-01-19 18:28:05 +03:00
Evgeny Mankov fa4a5355e4 [HIPIFY] cuRAND lib support (partial - only Host)
[ROCm/clr commit: 2e2e38f163]
2018-01-19 17:38:51 +03:00
Evgeny Mankov aed171f87e Merge pull request #332 from emankov/cudaMap_2
[HIPIFY] Add cudaMalloc3D support

[ROCm/clr commit: a8cae9ec07]
2018-01-18 13:05:57 +03:00
Evgeny Mankov 58fb895ab7 Merge pull request #331 from emankov/cudaMap
[HIPIFY] Add CUDA Driver API Texture Ref support (partial)

[ROCm/clr commit: 934fb8dd82]
2018-01-18 13:05:46 +03:00
Evgeny Mankov 75ed140298 [HIPIFY] Add cudaMalloc3D support
[ROCm/clr commit: eb27585136]
2018-01-18 12:28:56 +03:00
Evgeny Mankov 7bed930cd4 [HIPIFY] Add CUDA Driver API Texture Ref support (partial)
[ROCm/clr commit: 2bf8cc691b]
2018-01-18 12:03:03 +03:00
Evgeny Mankov 9ccb45af4b Merge pull request #328 from ashishfarmer/master
Fixed the mapping of cudaPointerGetAttributes -> hipPointerGetAttributes

[ROCm/clr commit: 9d3258957b]
2018-01-18 09:27:06 +03:00
Evgeny Mankov acb2eb3c94 Merge pull request #329 from emankov/hipify-perl
[HIPIFY][perl] Typo fix

[ROCm/clr commit: bd2e830d14]
2018-01-18 09:16:10 +03:00
Evgeny Mankov 3ed079667f [HIPIFY][perl] Typo fix
[ROCm/clr commit: 87895b7d01]
2018-01-18 09:14:16 +03:00
Ashish 3872cd6b3f Fixed the mapping of cudaPointerGetAttributes -> hipPointerGetAttributes in the hipify-perl
[ROCm/clr commit: e8cd277971]
2018-01-17 14:39:42 -08:00
Alex Voicu 870aed0e50 Merge branch 'feature_purge_genco' of https://github.com/AlexVlx/HIP into feature_purge_genco
[ROCm/clr commit: 55dcd1a04a]
2018-01-17 14:07:48 +00:00
Alex Voicu 392dd28899 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: 09c704a2d0]
2018-01-17 14:02:19 +00:00
foreman a9855fe9da P4 to Git Change 1504416 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/17 03:01:34
SWDEV-2 - Change OpenCL version number from 2573 to 2574.

Affected files ...

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


[ROCm/clr commit: 14f063ad6a]
2018-01-17 03:13:47 -05:00
foreman e8e7603e2a P4 to Git Change 1504202 by gandryey@gera-w8 on 2018/01/16 16:11:56
SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Fix failures on Win7 32 bit after extending resource cache size. Disable SVM region reservation for 32 bits, since OCL2.0 is disabled for 32bit.

Affected files ...

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


[ROCm/clr commit: 3e6aee2c93]
2018-01-16 16:22:43 -05:00
Evgeny Mankov b06eb0cc08 Merge pull request #326 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions

[ROCm/clr commit: bf64e69265]
2018-01-16 23:59:24 +03:00
Evgeny Mankov ad65fc53a8 Merge pull request #325 from emankov/testing
[HIPIFY][tests] remove concurentKernels.cu as it is one of CUDA SDK samples.

[ROCm/clr commit: 15f15a71be]
2018-01-16 23:53:15 +03:00
Evgeny Mankov c5c5706670 [HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions
[ROCm/clr commit: e2ac6c6296]
2018-01-16 21:07:50 +03:00
Evgeny Mankov 9c4549fac4 [HIPIFY][tests] remove concurentKernels.cu as it is one of CUDA SDK samples.
[ROCm/clr commit: 284d1cb4e3]
2018-01-16 20:41:08 +03:00
Evgeny Mankov d299b7c5fb Merge pull request #319 from emankov/issue_211
[HIPIFY][fix][#211] Algorithm for explicit insert of hip include directive

[ROCm/clr commit: 8f84e7a4ee]
2018-01-16 19:47:15 +03:00
Evgeny Mankov 220f545a59 Merge pull request #323 from emankov/cudaBuiltins
[HIPIFY][tests] Remove checks on cudaBuiltins

[ROCm/clr commit: b452cdb678]
2018-01-16 19:46:41 +03:00
Evgeny Mankov 5a4e30d8b2 Merge pull request #324 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types

[ROCm/clr commit: 382654c2bb]
2018-01-16 19:46:27 +03:00
Evgeny Mankov adcd58db5c Update headers_test_03.cu
[ROCm/clr commit: 3db7dc5b9e]
2018-01-16 19:21:59 +03:00
Evgeny Mankov f7605413bf Update headers_test_04.cu
[ROCm/clr commit: 44d51e794b]
2018-01-16 19:21:14 +03:00
Evgeny Mankov 8bca10e8ad Merge pull request #322 from emankov/testing
[HIPIFY][tests] Add more suffixes to lit config

[ROCm/clr commit: 1c028868fc]
2018-01-16 19:18:34 +03:00
Evgeny Mankov 5a369c5d29 [HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types
[ROCm/clr commit: 23889e7987]
2018-01-16 17:21:19 +03:00
Evgeny Mankov 0769a80c94 [HIPIFY][tests] Remove checks on cudaBuiltins
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.


[ROCm/clr commit: 42f0966a9e]
2018-01-16 17:13:29 +03:00