Commit Graph

12942 Commits

Author SHA1 Message Date
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 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 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 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 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 3ed079667f [HIPIFY][perl] Typo fix
[ROCm/clr commit: 87895b7d01]
2018-01-18 09:14:16 +03: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 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 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
Evgeny Mankov dea3b9ed95 [HIPIFY][tests] Add more suffixes to lit config
[ROCm/clr commit: 5c82a2e7fa]
2018-01-16 16:40:31 +03:00
Evgeny Mankov 38c69ecb73 Update HipifyAction.cpp
dead code eliminate

[ROCm/clr commit: a26e323612]
2018-01-16 15:08:08 +03:00
foreman 754b94ca0b P4 to Git Change 1503903 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2572 to 2573.

Affected files ...

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


[ROCm/clr commit: 501bfb890e]
2018-01-16 03:07:43 -05:00
Maneesh Gupta 90a0d88809 Merge pull request #302 from phani544/nvccWarnings
[nvccWarnings] Fix -Wno-deprecated-declarations in hip_anyall and hip…

[ROCm/clr commit: 03c8eb6d91]
2018-01-16 12:16:51 +05:30
Maneesh Gupta 4e9b4d0e5f Merge pull request #301 from gargrahul/fix_hipPeerToPeer_simple_singlegpu
Return pass on single gpu in hipPeerToPeer_simple

[ROCm/clr commit: 08fbdfcfda]
2018-01-16 12:16:33 +05:30
Rahul Garg ec4cc27986 Added support for -
- hipMemcpyFromArray
- hipMemcpyAtoH
- hipMemcpyHtoA


[ROCm/clr commit: ca5bcb5af4]
2018-01-16 11:44:19 +05:30
Maneesh Gupta b40529cdb5 Merge pull request #312 from phani544/nvcctests4
[nvcc] Enable hipGetDeviceAttribute

[ROCm/clr commit: 55b8460a93]
2018-01-16 11:05:15 +05:30
Kent Knox adb16194c4 adding group-add flag to docker run
[ROCm/clr commit: e645a2b8f3]
2018-01-15 13:33:39 -06:00
Kent Knox 99268efb2c Adding dependencies for rocm_agent_enumerator
[ROCm/clr commit: f51ac2b43e]
2018-01-15 13:33:39 -06:00
Evgeny Mankov 36b0e4003e [HIPIFY][fix][#211] Algorithm for explicit insert of hip include directive
If in source CUDA file main header (cuda_runtime.h or cuda.h) is not presented, corresponding HIP main header (hip_runtime.h) should be explicitly included in output hipified file.

[Algorithm]
1. If #pragma once is presented, HIP main header should be placed just after it;
2. Otherwise if any other (not CUDA main) header is presented, HIP main header should be placed just before it;
3. Otherwise HIP main header should be placed in the beginning of output file.

P.S.
There might be one more situation when #ifndef #define ... #endif guard for the entire file is presented (make sense for *.h, *.hpp, *.cuh files). In this case HIP main include should be placed just after such #ifdef, or after #pragma once, if it is also presented. This situation will be handled in a separate change.


[ROCm/clr commit: e90a76a1ef]
2018-01-15 21:05:05 +03:00
emankov ed9caac587 [HIPIFY][#311][fix] Get rid of socat in run_test.sh
[ROCm/clr commit: f83df46b8c]
2018-01-15 14:20:37 +03:00
Evgeny Mankov de58106161 Merge pull request #315 from emankov/win_testing
[HIPIFY][tests][win] CUDA samples root env. var is changed

[ROCm/clr commit: a42671d133]
2018-01-14 19:18:07 +03:00
Peng a880e5918d Update hip_debugging.md on typo of chicken bits
[ROCm/clr commit: 0831736e70]
2018-01-13 12:33:27 -06:00
Evgeny Mankov 1d3dc1ffe3 Merge pull request #316 from emankov/cmake
[HIPIFY][cmake] Version compatibility checks of CUDA and clang are added

[ROCm/clr commit: 0953fa4a6b]
2018-01-13 19:59:56 +03:00
foreman 3d370d02ed P4 to Git Change 1503341 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/13 03:00:06
SWDEV-2 - Change OpenCL version number from 2571 to 2572.

Affected files ...

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


[ROCm/clr commit: 551bd28120]
2018-01-13 03:15:05 -05:00
foreman 7476bd0554 P4 to Git Change 1503305 by gandryey@gera-w8 on 2018/01/12 18:09:51
SWDEV-142224 - [OCL] OCL runtime hang in multithread app with extended tests
	- Lock the resource cache only if a resource will be placed into the cache. Views, allocated/destroyed dynamically on the queues, won't be placed into the cache and lock should not be called for them

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#15 edit


[ROCm/clr commit: ec29b52ae8]
2018-01-12 18:15:39 -05:00
foreman aeb94403c7 P4 to Git Change 1503207 by wchau@wchau_OCL_boltzmann on 2018/01/12 14:51:08
SWDEV-140733 - OpenCL Runtime Support for Raven BU in ROCm
	- Fix OCLMemoryInfo issue of incorrect free memory info
	- Fix OCLPerfMemCreate failure due to memory leak

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#12 edit


[ROCm/clr commit: 074f37ac4d]
2018-01-12 14:59:13 -05:00
Evgeny Mankov ec693ff0d7 [HIPIFY][cmake] Version compatibility checks of CUDA and clang are added
[ROCm/clr commit: d11dccdd44]
2018-01-12 17:36:41 +03:00
Evgeny Mankov 674bcc42a3 [HIPIFY][tests][win] CUDA samples root env. var is changes
Env. var NVCUDASAMPLES_ROOT is changed to NVCUDASAMPLESX_Y_ROOT where X - major ver, Y - minor ver.

Reason: NVCUDASAMPLES_ROOT contains path to CUDA SDK installed last, while NVCUDASAMPLESX_Y_ROOT contains samples of the same version as of CUDA_TOOLKIT_ROOT_DIR.


[ROCm/clr commit: 39a0372077]
2018-01-12 17:15:37 +03:00