Commit Graph

12234 Commits

Author SHA1 Message Date
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
Evgeny Mankov b32639d1a8 [HIPIFY][tests] Add setlocal to batch script 2018-01-10 21:03:02 +03:00
Evgeny Mankov 2f4fc9fd9f Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into win_testing 2018-01-10 20:37:06 +03:00
Evgeny Mankov bc973fae70 Merge pull request #309 from emankov/issue_308
[HIPIFY][#308][fix] Consume error returned by Replacements::add(...)
2018-01-10 20:30:14 +03:00
foreman 0f819eed6f P4 to Git Change 1502108 by wchau@wchau_OCL_boltzmann on 2018/01/10 10:10:39
SWDEV-142081 - Performance drop while running GE HealthCare - Penality test test due to CL#1498909
	- Port the logic to consider cache line size for the local workgroup detection (CL#1496286)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#49 edit
2018-01-10 10:17:06 -05:00
foreman f5f2f28ed3 P4 to Git Change 1501942 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2568 to 2569.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2316 edit
2018-01-10 03:10:59 -05:00
Phaneendr-kumar Lanka dc6094cc60 [nvcc] Enable hipGetDeviceAttribute 2018-01-10 10:51:01 +05:30
Phaneendr-kumar Lanka df73989d69 [nvccTests] Enable hipGetDeviceAttribute on nvcc 2018-01-10 10:36:25 +05:30
foreman 8e17a1e6b4 P4 to Git Change 1501728 by gandryey@gera-w8 on 2018/01/09 15:35:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Code style clean-up. No functional changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#70 edit
2018-01-09 15:43:43 -05:00
foreman e5ee74a086 P4 to Git Change 1501660 by gandryey@gera-w8 on 2018/01/09 14:04:56
SWDEV-79445 - OCL generic changes and code clean-up
	- Code style clean-up. No functional changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#164 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#412 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#69 edit
2018-01-09 14:09:12 -05:00
Evgeny Mankov 257bc4748c [HIPIFY][tests] Add Windows testing support 2018-01-09 20:20:28 +03:00
Evgeny Mankov 7b060535c0 [HIPIFY][#308][fix] Consume error returned by Replacements::add(...) 2018-01-09 20:03:53 +03:00
foreman 5ebba8d23c P4 to Git Change 1500642 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/06 03:00:04
SWDEV-2 - Change OpenCL version number from 2567 to 2568.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2315 edit
2018-01-06 03:13:10 -05:00
foreman a0c9aa69e7 P4 to Git Change 1500415 by gandryey@gera-w8 on 2018/01/05 11:17:48
SWDEV-136522 - Tools need a way to query the PCIE device id via the OpenCL API.
	- Add CL_DEVICE_PCIE_ID query

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#20 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#36 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#580 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#181 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#79 edit
2018-01-05 11:23:11 -05:00