Commit Graph

13197 Commits

Author SHA1 Message Date
Evgeny Mankov 9d3258957b Merge pull request #328 from ashishfarmer/master
Fixed the mapping of cudaPointerGetAttributes -> hipPointerGetAttributes
2018-01-18 09:27:06 +03:00
Evgeny Mankov bd2e830d14 Merge pull request #329 from emankov/hipify-perl
[HIPIFY][perl] Typo fix
2018-01-18 09:16:10 +03:00
Evgeny Mankov 87895b7d01 [HIPIFY][perl] Typo fix 2018-01-18 09:14:16 +03:00
Ashish e8cd277971 Fixed the mapping of cudaPointerGetAttributes -> hipPointerGetAttributes in the hipify-perl 2018-01-17 14:39:42 -08:00
Alex Voicu 55dcd1a04a Merge branch 'feature_purge_genco' of https://github.com/AlexVlx/HIP into feature_purge_genco 2018-01-17 14:07:48 +00:00
Alex Voicu 09c704a2d0 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2018-01-17 14:02:19 +00:00
foreman 14f063ad6a 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
2018-01-17 03:13:47 -05:00
foreman 3e6aee2c93 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
2018-01-16 16:22:43 -05:00
Evgeny Mankov bf64e69265 Merge pull request #326 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions
2018-01-16 23:59:24 +03:00
Evgeny Mankov 15f15a71be Merge pull request #325 from emankov/testing
[HIPIFY][tests] remove concurentKernels.cu as it is one of CUDA SDK samples.
2018-01-16 23:53:15 +03:00
Evgeny Mankov e2ac6c6296 [HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions 2018-01-16 21:07:50 +03:00
Evgeny Mankov 284d1cb4e3 [HIPIFY][tests] remove concurentKernels.cu as it is one of CUDA SDK samples. 2018-01-16 20:41:08 +03:00
Evgeny Mankov 8f84e7a4ee Merge pull request #319 from emankov/issue_211
[HIPIFY][fix][#211] Algorithm for explicit insert of hip include directive
2018-01-16 19:47:15 +03:00
Evgeny Mankov b452cdb678 Merge pull request #323 from emankov/cudaBuiltins
[HIPIFY][tests] Remove checks on cudaBuiltins
2018-01-16 19:46:41 +03:00
Evgeny Mankov 382654c2bb Merge pull request #324 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types
2018-01-16 19:46:27 +03:00
Evgeny Mankov 3db7dc5b9e Update headers_test_03.cu 2018-01-16 19:21:59 +03:00
Evgeny Mankov 44d51e794b Update headers_test_04.cu 2018-01-16 19:21:14 +03:00
Evgeny Mankov 1c028868fc Merge pull request #322 from emankov/testing
[HIPIFY][tests] Add more suffixes to lit config
2018-01-16 19:18:34 +03:00
Evgeny Mankov 23889e7987 [HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types 2018-01-16 17:21:19 +03:00
Evgeny Mankov 42f0966a9e [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.
2018-01-16 17:13:29 +03:00
Evgeny Mankov 5c82a2e7fa [HIPIFY][tests] Add more suffixes to lit config 2018-01-16 16:40:31 +03:00
Evgeny Mankov a26e323612 Update HipifyAction.cpp
dead code eliminate
2018-01-16 15:08:08 +03:00
foreman 501bfb890e 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
2018-01-16 03:07:43 -05:00
Maneesh Gupta 03c8eb6d91 Merge pull request #302 from phani544/nvccWarnings
[nvccWarnings] Fix -Wno-deprecated-declarations in hip_anyall and hip…
2018-01-16 12:16:51 +05:30
Maneesh Gupta 08fbdfcfda Merge pull request #301 from gargrahul/fix_hipPeerToPeer_simple_singlegpu
Return pass on single gpu in hipPeerToPeer_simple
2018-01-16 12:16:33 +05:30
Rahul Garg ca5bcb5af4 Added support for -
- hipMemcpyFromArray
- hipMemcpyAtoH
- hipMemcpyHtoA
2018-01-16 11:44:19 +05:30
Maneesh Gupta 55b8460a93 Merge pull request #312 from phani544/nvcctests4
[nvcc] Enable hipGetDeviceAttribute
2018-01-16 11:05:15 +05:30
Maneesh Gupta a2a0401601 Merge pull request #320 from kknox/fix-hcc-ctu-build-rebase
Fix hcc ctu build
2018-01-16 10:38:52 +05:30
Kent Knox e645a2b8f3 adding group-add flag to docker run 2018-01-15 13:33:39 -06:00
Kent Knox f51ac2b43e Adding dependencies for rocm_agent_enumerator 2018-01-15 13:33:39 -06:00
Evgeny Mankov e90a76a1ef [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.
2018-01-15 21:05:05 +03:00
Evgeny Mankov 422adb64a1 Merge pull request #318 from ROCm-Developer-Tools/emankov
[HIPIFY][#311][fix] Get rid of socat in run_test.sh
2018-01-15 15:35:04 +03:00
emankov f83df46b8c [HIPIFY][#311][fix] Get rid of socat in run_test.sh 2018-01-15 14:20:37 +03:00
Evgeny Mankov a42671d133 Merge pull request #315 from emankov/win_testing
[HIPIFY][tests][win] CUDA samples root env. var is changed
2018-01-14 19:18:07 +03:00
Peng 0831736e70 Update hip_debugging.md on typo of chicken bits 2018-01-13 12:33:27 -06:00
Evgeny Mankov 0953fa4a6b Merge pull request #316 from emankov/cmake
[HIPIFY][cmake] Version compatibility checks of CUDA and clang are added
2018-01-13 19:59:56 +03:00
foreman 551bd28120 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
2018-01-13 03:15:05 -05:00
foreman ec29b52ae8 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
2018-01-12 18:15:39 -05:00
foreman 074f37ac4d 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
2018-01-12 14:59:13 -05:00
Evgeny Mankov d11dccdd44 [HIPIFY][cmake] Version compatibility checks of CUDA and clang are added 2018-01-12 17:36:41 +03:00
Evgeny Mankov 39a0372077 [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.
2018-01-12 17:15:37 +03:00
Evgeny Mankov 1b7c9c6480 Merge pull request #310 from emankov/win_testing
[HIPIFY][tests] Add Windows testing support
2018-01-12 16:41:56 +03:00
foreman 173126fa5d P4 to Git Change 1502957 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/12 03:00:29
SWDEV-2 - Change OpenCL version number from 2570 to 2571.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2318 edit
2018-01-12 03:14:04 -05:00
foreman 5d9c7b3b47 P4 to Git Change 1502710 by wchau@wchau_OCL_boltzmann on 2018/01/11 15:44:09
SWDEV-142432 - OpenCL Runtime Support for Vega12 BU in ROCm
	- add device info entry for Vega12
	- modified Makefile.library to use Vega12's bitcode library

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#80 edit
2018-01-11 15:55:18 -05:00
foreman 4c99d307eb P4 to Git Change 1502648 by gandryey@gera-ocl-lc on 2018/01/11 13:59:40
SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Remove 512MB limit for resource cache to avoid expensive KMD memory allocations in Win10 RS

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#358 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#40 edit
2018-01-11 14:11:44 -05:00
Jenkins f6c8a7026d Merge 'master' into 'amd-master'
Change-Id: I6ed16e8b72ffef68d24eba6e1d97f0923a9af244
2018-01-11 04:11:03 -06:00
foreman 21de56b925 P4 to Git Change 1502474 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2569 to 2570.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2317 edit
2018-01-11 03:10:20 -05:00
Evgeny Mankov 5b7d733fc1 Merge pull request #307 from emankov/issue_306
[HIPIFY][FIX][#306] Eliminate second cuda main include directive
2018-01-10 22:50:44 +03:00
Evgeny Mankov cc133b09aa [HIPIFY][fix][#306] Code improve 2018-01-10 21:26:05 +03:00
Evgeny Mankov 5c15cc77cb [HIPIFY][cmake] Exclude socat from Win config 2018-01-10 21:06:06 +03:00