Wykres commitów

12735 Commity

Autor SHA1 Wiadomość Data
foreman f2f1990e9a P4 to Git Change 1410638 by lmoriche@lmoriche_palamida on 2017/05/17 11:34:07
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Add FindROCR.cmake, and use find_package() to locate the ROCR

Affected files ...

... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#2 edit


[ROCm/clr commit: 83937abeae]
2017-05-17 11:50:44 -04:00
foreman 2d65bec1eb P4 to Git Change 1410629 by lmoriche@lmoriche_palamida on 2017/05/17 11:27:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Add FindROCR.cmake, and use find_package() to locate the ROCR

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#5 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#3 edit


[ROCm/clr commit: 8f8d05040f]
2017-05-17 11:40:24 -04:00
foreman 7e1bac77ba P4 to Git Change 1410629 by lmoriche@lmoriche_palamida on 2017/05/17 11:27:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Add FindROCR.cmake, and use find_package() to locate the ROCR

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#8 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#5 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#3 edit


[ROCm/clr commit: 85b83e06cf]
2017-05-17 11:40:24 -04:00
foreman d3535a0c11 P4 to Git Change 1410625 by gandryey@gera-w8 on 2017/05/17 11:20:57
SWDEV-79445 - OCL generic changes and code clean-up
	Remove unused wait() call

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#20 edit


[ROCm/clr commit: c84fa0811c]
2017-05-17 11:29:38 -04:00
Ben Sander 8c50285d30 Return precise address for hipHostGetDevicePointer.
[ROCm/clr commit: ee37a31799]
2017-05-17 07:36:06 -05:00
foreman 8297bd0f1a P4 to Git Change 1410518 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/17 03:00:04
SWDEV-2 - Change OpenCL version number from 2421 to 2422.

Affected files ...

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


[ROCm/clr commit: 540e578066]
2017-05-17 07:14:00 -04:00
Aditya Atluri 0318e91450 changed vector types to make sure it generate proper llvm vector types
Change-Id: I6c4616dae137dc4eac35e5827dc5b7f3251e0247


[ROCm/clr commit: 93fa174900]
2017-05-16 21:35:40 -05:00
Ben Sander 33cfd1a35e Make hipMultiThreadStreams1 test a little harsher.
Fail faster if synchronization rules are violated.
Run vectorAddRevers to read last elements of array first - if the
vector add kernel starts before preceding copy finishes we
will read stale data and flag the error.

Increase default array sizes, so synchronization errors more easily
exposed.


[ROCm/clr commit: 848d77ebb5]
2017-05-16 19:04:25 -05:00
Ben Sander c098221a46 Fix HIP_TRACE_API so kernel launch only printed when requested.
[ROCm/clr commit: fad9104b5f]
2017-05-16 19:04:25 -05:00
Ben Sander 4ac6ac9d1d Add initial HIP_SYNC_NULL_STREAM=0 mode.
This eliminates host-synchronization for null stream.  Instead, the
null-stream uses GPU-side events to wait for other streams.
Default is OFF pending additional testing.

Add enhanced null-stream test.

Also refine HIP_TRACE_API.


[ROCm/clr commit: 8bc6ee5932]
2017-05-16 19:04:25 -05:00
Ben Sander db102ab82f Update tests README
[ROCm/clr commit: 5d2072aba1]
2017-05-16 19:04:25 -05:00
Ben Sander b8b6cfe02e Doc update - split hip_debugging.md into separate file.
[ROCm/clr commit: a5a12942b2]
2017-05-16 19:04:25 -05:00
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