Commit Graph

11723 Commits

Author SHA1 Message Date
Ben Sander a8d917c092 split debugging into separate .md file
[ROCm/clr commit: 61c8633113]
2017-05-16 19:04:25 -05:00
Ben Sander ee05975efa Add HIP_TRACE_API=4. Only display memory allocation/free apis.
[ROCm/clr commit: 7e7ba5027f]
2017-05-16 19:04:25 -05:00
foreman e539d82958 P4 to Git Change 1410373 by gandryey@gera-w8 on 2017/05/16 17:16:52
SWDEV-120180 - [amdgpu-pro] OpenCL support for SSG
	- Add initial support of DGMA memory under ROCr backend.
	 - The implementation requires amdgpu-pro stack initialization and memory allocation.
	 - An interop with HSA device is created for ROCr access

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/Makefile#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#153 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#285 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#351 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/lnxheaders.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodriver.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#41 edit


[ROCm/clr commit: 741fd33189]
2017-05-16 17:22:59 -04:00
foreman 7334b232b2 P4 to Git Change 1410373 by gandryey@gera-w8 on 2017/05/16 17:16:52
SWDEV-120180 - [amdgpu-pro] OpenCL support for SSG
	- Add initial support of DGMA memory under ROCr backend.
	 - The implementation requires amdgpu-pro stack initialization and memory allocation.
	 - An interop with HSA device is created for ROCr access

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/Makefile#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#153 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#285 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#351 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/lnxheaders.h#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodriver.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#41 edit


[ROCm/clr commit: 0da70b03de]
2017-05-16 17:22:59 -04:00
foreman ccf1de99a1 P4 to Git Change 1410307 by lmoriche@lmoriche_palamida on 2017/05/16 15:09:08
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Fix the build breakage caused by the latest changes from device-libs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#4 edit


[ROCm/clr commit: e6dd2db23d]
2017-05-16 16:06:16 -04:00
foreman a7c8c754e4 P4 to Git Change 1410307 by lmoriche@lmoriche_palamida on 2017/05/16 15:09:08
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Fix the build breakage caused by the latest changes from device-libs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#4 edit


[ROCm/clr commit: df45033047]
2017-05-16 16:06:16 -04:00
foreman f8b1190623 P4 to Git Change 1410282 by skudchad@skudchad_test_win_opencl2 on 2017/05/16 14:43:51
SWDEV-115303 - [Vega 10] SDITransferTest not functional in P2P OGL/OCL mode
	 - Runtime backend changes to implement marker submit\wait functionality and to make the SDI surface resident

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12776/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#22 edit


[ROCm/clr commit: a6fb2b1527]
2017-05-16 15:54:59 -04:00
emankov 9a097161ac [HIPIFY] *.inl extension support for batch processing
[ROCm/clr commit: f6a0cb3afc]
2017-05-16 19:52:39 +03:00
foreman f7724af133 P4 to Git Change 1410153 by wchau@wchau_OCL_boltzmann on 2017/05/16 11:07:21
SWDEV-121587 - [OCL] Segmentation fault when program is used without built first.  Fix the issue by adding sanity check for the symbol table before using it.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#87 edit


[ROCm/clr commit: 8b44cced55]
2017-05-16 11:22:14 -04:00
Evgeny Mankov b2fa897ded [HIPIFY] cudaMallocPitch -> hipMallocPitch
[ROCm/clr commit: 221faeb916]
2017-05-16 18:21:25 +03:00
foreman 7b2758bb94 P4 to Git Change 1410014 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/16 03:00:03
SWDEV-2 - Change OpenCL version number from 2420 to 2421.

Affected files ...

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


[ROCm/clr commit: c4024bac0b]
2017-05-16 03:11:22 -04:00
Rahul Garg 293524f1dc Added hipMallocPitch on HIP/NVCC path
Change-Id: Ie3ba7d3f95acac23805efa919531043b350a3f21


[ROCm/clr commit: d22b731f95]
2017-05-16 07:15:13 +05:30
foreman 50fe1ffc19 P4 to Git Change 1409878 by lmoriche@lmoriche_palamida on 2017/05/15 19:30:18
SWDEV-121585 - [OCL-LC-ROCm] Merge GitHub pull requests
	- Merged https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/pull/4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#48 edit


[ROCm/clr commit: 34c374b287]
2017-05-15 19:42:30 -04:00
foreman 11e70960a2 P4 to Git Change 1409878 by lmoriche@lmoriche_palamida on 2017/05/15 19:30:18
SWDEV-121585 - [OCL-LC-ROCm] Merge GitHub pull requests
	- Merged https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/pull/4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#48 edit


[ROCm/clr commit: 0c526a2e0d]
2017-05-15 19:42:30 -04:00
foreman 1ecd94d1f4 P4 to Git Change 1409664 by skudchad@skudchad_test_win_opencl2 on 2017/05/15 13:43:01
SWDEV-121337 - [Gfx10][SW Emulation] - Support for SW emulation path for Compute
	- Makefile changes for passing DTIF build flag
	- Disable SVM support when emulating.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12755/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#46 edit


[ROCm/clr commit: 1d5baa6862]
2017-05-15 13:48:39 -04:00
Evgeny Mankov 37d5a09493 [HIPIFY] CUDA Driver API: Primary Context Management support.
[ROCm/clr commit: 181d3e2bae]
2017-05-15 15:35:52 +03:00
foreman 82d3292c8d P4 to Git Change 1409348 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/13 03:00:03
SWDEV-2 - Change OpenCL version number from 2419 to 2420.

Affected files ...

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


[ROCm/clr commit: 7a2a73f05a]
2017-05-13 03:14:28 -04:00
Aditya Atluri feca2ed0dc added gfx900 to hipDeviceProp_t
Change-Id: I49e7a32f218926fd55f1c94c5dc2366d6c8ac4ca


[ROCm/clr commit: a6dc00f167]
2017-05-12 21:43:34 -05:00
Ben Sander 0d3c99eb6e Remove old USE_ switches no longer needed.
[ROCm/clr commit: c7c62dd022]
2017-05-12 16:06:03 -05:00
Ben Sander 9b222c0ae4 Add hipEventDisableSystemRelease flag.
[ROCm/clr commit: 2c2625cb9e]
2017-05-12 16:06:03 -05:00
Evgeny Mankov 42292df1a3 [HIPIFY] Fix string routines.
Some Clang tooling functions return std::string, some return StringRef. Assigning of returning std::string to StringRef variables leads to garbage in it.
DEBUG build is always affected.


[ROCm/clr commit: aa52b94be1]
2017-05-11 21:50:36 +03:00
foreman 4df931cf60 P4 to Git Change 1408404 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2418 to 2419.

Affected files ...

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


[ROCm/clr commit: e7659e8e45]
2017-05-11 03:08:30 -04:00
Ben Sander 90e5930923 hipHostMalloc allocation are mapped to all devices by default.
Support hipHostMallocPortable flag.
Default flags are hipHostMallocPortable | hipHostMallocMapped.

Also:
-refactor tests to move addCount and addCountReverse into HipTest
namespace.
-test multi-GPU host memory.


[ROCm/clr commit: ff9bed6535]
2017-05-10 17:34:36 -05:00
Ben Sander 501d0b3161 Fix hipStreamWaitEvent for single GPU.
[ROCm/clr commit: ae9fdf9bc1]
2017-05-10 13:23:49 -05:00
foreman 1c3d0fe7cf P4 to Git Change 1407897 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2417 to 2418.

Affected files ...

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


[ROCm/clr commit: df01201857]
2017-05-10 03:08:59 -04:00
foreman a29670cc9a P4 to Git Change 1407812 by lmoriche@lmoriche_palamida on 2017/05/09 19:05:59
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Add a linker script to version the symbols

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map#3 add


[ROCm/clr commit: 09c3bd377c]
2017-05-09 19:11:37 -04:00
Aditya Atluri b5f0a9471d added guard against hip_runtime.h so that non-hcc compilers can use it
Change-Id: I3d68deda9ce8a5956e21e15a69e549d6c21e3e39


[ROCm/clr commit: 14930dc594]
2017-05-09 10:14:16 -05:00
foreman 88917da990 P4 to Git Change 1407340 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/09 03:00:04
SWDEV-2 - Change OpenCL version number from 2416 to 2417.

Affected files ...

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


[ROCm/clr commit: dc779392ba]
2017-05-09 03:12:15 -04:00
Ben Sander fa1ac559cb Fix some typos, add additional guidance for -BSymbolic
[ROCm/clr commit: 9a026b62a8]
2017-05-05 17:29:04 -05:00
Ben Sander 4afda1720d Refactor hipHostRegister test.
Run all tests in one command.
Run 128 offsets.


[ROCm/clr commit: e417eb5d35]
2017-05-05 17:29:04 -05:00
Ben Sander 48fdf2fc93 Update streamEventTEst.
- add checks for events across devices.
- refactor test to make sure it runs long enough to sensitive sync
  techniques.
- add tests for DeviceSync, streamWaitEvent.


[ROCm/clr commit: 444e4a20ba]
2017-05-05 17:29:04 -05:00
wsttiger 618f4bf702 Improve hipStreamWaitEvent test.
- use addOne kernel, use local initializer rather than init_array.
- use addOneReverse test to add from back of array.  Test alternate fwd and backward to stress dependency logic.
- check device-side dependencies.


[ROCm/clr commit: a10d37e5e6]
2017-05-05 17:29:04 -05:00
Evgeny Mankov 3028345953 [HIPIFY] LLVM 3.9 support
3.8 and 3.9 are both supported. 3.8 is stable, 3.9 needs more testing.


[ROCm/clr commit: 054bf0859d]
2017-05-05 21:28:02 +03:00
foreman 8b0f3756d7 P4 to Git Change 1406177 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/05 03:00:41
SWDEV-2 - Change OpenCL version number from 2415 to 2416.

Affected files ...

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


[ROCm/clr commit: 6d650dd3ee]
2017-05-05 03:17:09 -04:00
foreman d9fa7ae96c P4 to Git Change 1405526 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/04 03:00:05
SWDEV-2 - Change OpenCL version number from 2414 to 2415.

Affected files ...

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


[ROCm/clr commit: ea32d564cc]
2017-05-04 03:06:25 -04:00
Rahul Garg ba1a3360ab hipMemcpy2DAsync for HIP/NVCC
Change-Id: I46f0057fef49bdaaac41c1df80c3e27432b8f376


[ROCm/clr commit: f77059218c]
2017-05-04 06:47:55 +05:30
Evgeny Mankov e9ad0f3b00 [HIPIFY] CUDA RT memcpy functions update.
cudaMemcpyFromSymbol -> hipMemcpyFromSymbol
cudaMemcpyFromSymbolAsync -> hipMemcpyFromSymbolAsync
cudaMemcpy2DAsync -> hipMemcpy2DAsync


[ROCm/clr commit: 2636d91ba4]
2017-05-03 23:05:44 +03:00
Evgeny Mankov df05e96760 [HIPIFY] Blas update: add a few functions, supported by HIP.
cublasDaxpy -> hipblasDaxpy
cublasDgemv -> hipblasDgemv
cublasDger  -> hipblasDger
cublasDgemm -> hipblasDgemm
cublasDgemmBatched -> hipblasDgemmBatched
cublasGetStream -> hipblasGetStream
cublasSetStream -> hipblasSetStream
cublasDaxpy -> hipblasDaxpy


[ROCm/clr commit: 72df25a0c7]
2017-05-03 22:45:56 +03:00
Evgeny Mankov 3ca552c669 [HIPIFY] HIPIFY and HIP sync with CUDA Driver API data types.
+ Update CUDA_Driver_API_functions_supported_by_HIP.md.
+ Final update of HIPIFY with CUDA driver data types.

[TODO] Syncing HIPIFY and HIP by CUDA Driver API functions.


[ROCm/clr commit: 3b40776244]
2017-05-03 21:59:48 +03:00
Rahul Garg 9739d5d60f Added support for hipMemcpy2DAsync in HIP/HCC
Change-Id: Ia4a8306f2dc1e33a81a7195ec29aef652fcccc4b


[ROCm/clr commit: b136e80a45]
2017-05-03 22:29:12 +05:30
foreman 90395291d7 P4 to Git Change 1405035 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2413 to 2414.

Affected files ...

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


[ROCm/clr commit: 6b4034a2d6]
2017-05-03 03:07:30 -04:00
foreman c438c95820 P4 to Git Change 1404496 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/02 03:00:04
SWDEV-2 - Change OpenCL version number from 2412 to 2413.

Affected files ...

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


[ROCm/clr commit: 6c858567f2]
2017-05-02 03:10:50 -04:00
foreman 1f24dbaddd P4 to Git Change 1404293 by lmoriche@lmoriche_opencl_dev2 on 2017/05/01 16:43:07
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Changes required to use the Khronos ICD sources instead of ours.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#319 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#18 edit


[ROCm/clr commit: 26720154d9]
2017-05-01 15:54:18 -05:00
foreman e56f652c91 P4 to Git Change 1404293 by lmoriche@lmoriche_opencl_dev2 on 2017/05/01 16:43:07
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Changes required to use the Khronos ICD sources instead of ours.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#319 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#18 edit


[ROCm/clr commit: 0af2c7043c]
2017-05-01 15:54:18 -05:00
foreman f7e62f182d P4 to Git Change 1404073 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/29 03:00:05
SWDEV-2 - Change OpenCL version number from 2411 to 2412.

Affected files ...

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


[ROCm/clr commit: d26b48851b]
2017-04-29 03:11:52 -04:00
Evgeny Mankov 03595a9883 [HIPIFY] Rename enumConstantDecl -> enumDecl
Reason: not to mix up with clang's enumConstantDecl, used for enum DeclRefExpr (enum constant).


[ROCm/clr commit: 3e89277a9b]
2017-04-28 21:59:33 +03:00
Evgeny Mankov 3252416883 * [HIPIFY] [FIX] Replacement error: enum cudaMemcpyKind kind -> hipMemcpyKindyKind kind
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/72

[Solution] [Workaround]
Offset calculation for enum VarDecl as param decl, declared with enum type specifier.

[Result]
enum cudaMemcpyKind kind -> enum hipMemcpyKind kind

[ToDo]
Test on terminal qualifiers (const, etc).


[ROCm/clr commit: 85a32c3987]
2017-04-28 21:45:36 +03:00
Evgeny Mankov 3e06497eaa [HIPIFY] [FIX] replacement error: cudaError_t -> hipError_t_t
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/71

[Solution]
getUnqualifiedType for enumConstantDecl's type is added, except ordinary enum declarations (w/o typedef).

[ToDo]
Find more appropriate way of distinguishing redefined enum declarations and ordinary ones.


[ROCm/clr commit: 5f76cf3098]
2017-04-28 21:03:03 +03:00
Aditya Atluri 6dccc18fa0 fixed hipFuncSetCacheConfig on rocm path
Change-Id: I937a3afbf115edc94a753a0beb2230ed60a6f021


[ROCm/clr commit: 208bdbbcbb]
2017-04-28 11:53:11 -05:00
foreman b9b49b2802 P4 to Git Change 1403666 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/28 03:00:06
SWDEV-2 - Change OpenCL version number from 2410 to 2411.

Affected files ...

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


[ROCm/clr commit: f35795b992]
2017-04-28 03:11:31 -04:00