Commit Graph

54851 Commits

Author SHA1 Message Date
Maneesh Gupta d12de062af Merge pull request #312 from phani544/nvcctests4
[nvcc] Enable hipGetDeviceAttribute
2018-01-16 11:05:15 +05:30
Maneesh Gupta 00b815721e Merge pull request #320 from kknox/fix-hcc-ctu-build-rebase
Fix hcc ctu build

[ROCm/clr commit: a2a0401601]
2018-01-16 10:38:52 +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
Maneesh Gupta e9112426c3 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 adb16194c4 adding group-add flag to docker run
[ROCm/clr commit: e645a2b8f3]
2018-01-15 13:33:39 -06:00
Kent Knox e645a2b8f3 adding group-add flag to docker run 2018-01-15 13:33:39 -06:00
Kent Knox a9d34afc50 adding group-add flag to docker run 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
Kent Knox f51ac2b43e Adding dependencies for rocm_agent_enumerator 2018-01-15 13:33:39 -06:00
Kent Knox 55fc302e32 Adding dependencies for rocm_agent_enumerator 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
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 09655a0853 [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 32ad2cd322 Merge pull request #318 from ROCm-Developer-Tools/emankov
[HIPIFY][#311][fix] Get rid of socat in run_test.sh

[ROCm/clr commit: 422adb64a1]
2018-01-15 15:35:04 +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
Evgeny Mankov 56f297c2ca 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 ed9caac587 [HIPIFY][#311][fix] Get rid of socat in run_test.sh
[ROCm/clr commit: f83df46b8c]
2018-01-15 14:20:37 +03:00
emankov f83df46b8c [HIPIFY][#311][fix] Get rid of socat in run_test.sh 2018-01-15 14:20:37 +03:00
emankov 6500cce6aa [HIPIFY][#311][fix] Get rid of socat in run_test.sh 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
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
Evgeny Mankov c92d077da7 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 a880e5918d Update hip_debugging.md on typo of chicken bits
[ROCm/clr commit: 0831736e70]
2018-01-13 12:33:27 -06:00
Peng 0831736e70 Update hip_debugging.md on typo of chicken bits 2018-01-13 12:33:27 -06:00
Peng d9572d7fe7 Update hip_debugging.md on typo of chicken bits 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
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
Evgeny Mankov e472250fbf 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 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 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 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 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 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
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 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 d11dccdd44 [HIPIFY][cmake] Version compatibility checks of CUDA and clang are added 2018-01-12 17:36:41 +03:00
Evgeny Mankov caf6b5c4f0 [HIPIFY][cmake] Version compatibility checks of CUDA and clang are added 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
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 5df3a9bb3b [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 cef2317438 Merge pull request #310 from emankov/win_testing
[HIPIFY][tests] Add Windows testing support

[ROCm/clr commit: 1b7c9c6480]
2018-01-12 16:41:56 +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
Evgeny Mankov f11cb396f0 Merge pull request #310 from emankov/win_testing
[HIPIFY][tests] Add Windows testing support
2018-01-12 16:41:56 +03:00
foreman 2b2b4b036d 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


[ROCm/clr commit: 173126fa5d]
2018-01-12 03:14:04 -05: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 171ec8809a 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


[ROCm/clr commit: 5d9c7b3b47]
2018-01-11 15:55:18 -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 d9740c2fe7 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


[ROCm/clr commit: 4c99d307eb]
2018-01-11 14:11:44 -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 671ddbd0d1 Merge 'master' into 'amd-master'
Change-Id: I6ed16e8b72ffef68d24eba6e1d97f0923a9af244


[ROCm/clr commit: f6c8a7026d]
2018-01-11 04:11:03 -06:00