Commit grafiek

12735 Commits

Auteur SHA1 Bericht Datum
foreman c957454bcb P4 to Git Change 1421208 by gandryey@gera-w8 on 2017/06/12 13:15:22
SWDEV-124171 - adding support for p2p OCL in rocm stack
	- Add cl_amd_copy_buffer_p2p extension for P2P transfers. The extension adds a new API entry - clEnqueueCopyBufferP2PAMD() which allows to transfer CL buffers between different CL contexts on different GPUs. If P2P isn't possible, then double copy performed
	- Also the app can query the P2P support capabilities for the device. A list of P2P accessible devices can be returned for the current device

	http://ocltc.amd.com/reviews/r/12913/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuvirtual.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#287 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#84 edit


[ROCm/clr commit: 628503e964]
2017-06-12 13:31:09 -04:00
foreman 5fb0f84b9a P4 to Git Change 1421208 by gandryey@gera-w8 on 2017/06/12 13:15:22
SWDEV-124171 - adding support for p2p OCL in rocm stack
	- Add cl_amd_copy_buffer_p2p extension for P2P transfers. The extension adds a new API entry - clEnqueueCopyBufferP2PAMD() which allows to transfer CL buffers between different CL contexts on different GPUs. If P2P isn't possible, then double copy performed
	- Also the app can query the P2P support capabilities for the device. A list of P2P accessible devices can be returned for the current device

	http://ocltc.amd.com/reviews/r/12913/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.h#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuvirtual.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#287 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#84 edit


[ROCm/clr commit: 9ba3948388]
2017-06-12 13:31:09 -04:00
Rahul Garg 942fc5de3f Update P2P test for using memcpy and kernel tests
Change-Id: Ib0f8fc9425e6e85fd11d7d02395c52bc713dcb37


[ROCm/clr commit: ce6e455677]
2017-06-12 11:53:25 +05:30
Maneesh Gupta a11bc9fe4a Updated RELEASE.md
Change-Id: Ic451612555c66f3ed7131514fc97fcc41091370a


[ROCm/clr commit: 6174e69f87]
2017-06-12 11:20:28 +05:30
Maneesh Gupta 4760a21b55 Update directed tests README.md
Change-Id: I395245454d376508f04e5a4a62c8933895cb3867


[ROCm/clr commit: 15a3464630]
2017-06-12 11:19:55 +05:30
Patrick Flick 2f1e4e84a2 fix typo
[ROCm/clr commit: 821c238bad]
2017-06-12 10:15:27 +05:30
Maneesh Gupta 56a827a8ee Merge branch hipify-updates into amd-develop
Change-Id: I13d8750027a2a8787e4eb2e1ed525cf69d14b805


[ROCm/clr commit: d2b90ad93c]
2017-06-12 10:10:19 +05:30
Maneesh Gupta cdd3846478 Initial implementation of hipify-cmakefile
Change-Id: Id365da9f887b5c3409639f000b430d093fd4f6b3


[ROCm/clr commit: c5366a55f1]
2017-06-12 09:57:17 +05:30
foreman 4b1593bc58 P4 to Git Change 1420896 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2438 to 2439.

Affected files ...

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


[ROCm/clr commit: 209a1a1ec2]
2017-06-10 03:18:05 -04:00
foreman 7fe486d3c1 P4 to Git Change 1420426 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/09 03:00:04
SWDEV-2 - Change OpenCL version number from 2437 to 2438.

Affected files ...

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


[ROCm/clr commit: d2a7bdf187]
2017-06-09 03:17:08 -04:00
Sun, Peng 14e51d052e Fix error related to undefined reference of __get_dynamicgroupbaseptr().
Change-Id: I14951e1725e35dd5f5e53805f81cdb58661f59f2


[ROCm/clr commit: 682dda4418]
2017-06-08 19:24:32 -05:00
Sun, Peng 65ead764d3 Add clang version guard so the hip_fp16.h header won't be picked up by gcc
Change-Id: Ia21335a455bc93210901b44bc8c76a7f4a385b55


[ROCm/clr commit: 5450021f93]
2017-06-08 19:24:32 -05:00
foreman 8a2ddbd94a P4 to Git Change 1420248 by skudchad@skudchad_test_win_opencl2 on 2017/06/08 18:13:23
SWDEV-107271 - [OpenCL][GFXIP9 Bring up]
	- Correct the pageMigration flag in runtime

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#48 edit


[ROCm/clr commit: 057a019e40]
2017-06-08 18:40:45 -04:00
foreman 5968e32502 P4 to Git Change 1419977 by gandryey@gera-w8 on 2017/06/08 11:16:05
SWDEV-121409 - [SSG][Vega] new LF change requires integration in OpenCL
	- Add lfInit() and lfTerminate() calls

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#43 edit


[ROCm/clr commit: 3152da6be5]
2017-06-08 11:22:06 -04:00
foreman 4eb04f7f0e P4 to Git Change 1419768 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/08 03:00:05
SWDEV-2 - Change OpenCL version number from 2436 to 2437.

Affected files ...

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


[ROCm/clr commit: c7ab8428c4]
2017-06-08 03:12:54 -04:00
foreman ce79505331 P4 to Git Change 1419586 by skudchad@skudchad_test_win_opencl2 on 2017/06/07 16:09:44
SWDEV-107271 - [OpenCL][GFXIP9 Bring up]
	- Detect HBCC and correctly support Vega10 with XNACKs

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#47 edit


[ROCm/clr commit: a2b0ebf70c]
2017-06-07 16:14:38 -04:00
foreman d59493069e P4 to Git Change 1419517 by lmoriche@lmoriche_palamida on 2017/06/07 14:42:22
SWDEV-94644 - Update runtime after the recent merge
	- Update CMakeLists.txt.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#5 edit


[ROCm/clr commit: 406d9ff7c8]
2017-06-07 14:59:18 -04:00
foreman 38ccff68fb P4 to Git Change 1419430 by lmoriche@lmoriche_palamida on 2017/06/07 12:28:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Enable building the ICD and clinfo.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#2 edit


[ROCm/clr commit: 04412e2b5a]
2017-06-07 12:55:38 -04:00
foreman 8ead62e13d P4 to Git Change 1419430 by lmoriche@lmoriche_palamida on 2017/06/07 12:28:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Enable building the ICD and clinfo.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#2 edit


[ROCm/clr commit: 5adbcd8f12]
2017-06-07 12:55:38 -04:00
foreman b170b61b0e P4 to Git Change 1419386 by kzhuravl@kzhuravl-fiji-ocllc on 2017/06/07 11:13:10
SWDEV-94644 - Update runtime after the recent merge
	 - AMDGPUCodeObjectMetadata.h was moved to include/llvm/Support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#25 edit


[ROCm/clr commit: db1916dcbc]
2017-06-07 11:19:18 -04:00
Ben Sander 2408d0cf79 Use amHostCoherentFlag. Requires new HCC version.
[ROCm/clr commit: 9bfc7b0e13]
2017-06-07 09:06:40 -05:00
Maneesh Gupta aeb85a76ef hip_hcc package: add libstdc++-static as a rpm dependency
Change-Id: I83a79353492a6be3d788b7c0ce4a8f3aa740d9d9


[ROCm/clr commit: ff4fae7d20]
2017-06-07 15:50:28 +05:30
Maneesh Gupta 57bfd56a0d hipMemcpy-size test: reduce max size to make it work correctly on nvcc path
Change-Id: I9ce9f5a9e141ffd8ddf961269010b33358e02771


[ROCm/clr commit: ff8ade59aa]
2017-06-07 15:25:54 +05:30
Maneesh Gupta 949fbad6e2 hipDeviceMemcpy test: make it functional on nvcc path
Change-Id: Id10c79b48747ed701adbd0a233c53cd60cfa743b


[ROCm/clr commit: a50f5ca0ac]
2017-06-07 15:24:44 +05:30
Maneesh Gupta e23be58d91 p2p_copy_coherency test: gracefully handle single gpu case
Change-Id: I216663f67ef58c673136332635dab8b57079b909


[ROCm/clr commit: a7dc938ec0]
2017-06-07 15:23:37 +05:30
foreman 7476a16333 P4 to Git Change 1419239 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/07 03:00:03
SWDEV-2 - Change OpenCL version number from 2435 to 2436.

Affected files ...

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


[ROCm/clr commit: 062360faef]
2017-06-07 03:14:42 -04:00
foreman 9f96e9227d P4 to Git Change 1419209 by lmoriche@lmoriche_palamida on 2017/06/07 01:42:42
SWDEV-101666 - No need to force disable SDMA, the ROCR now enables SDMA for known good configurations.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#53 edit


[ROCm/clr commit: 53f8a48c7c]
2017-06-07 01:56:08 -04:00
Ben Sander daae691cdb Enable HCC_OPT_FLUSH=1.
Requires appropriate HCC with this support   :
commit 38e392b517a46a09a3b1c8f388e6a0db3741c510


[ROCm/clr commit: c2baa4f6e6]
2017-06-07 00:15:05 -05:00
Sun, Peng 450a26e5d4 Improve HIP kernel names, attributes and codegen, contributed by Alex Voicu
Change-Id: I2cafbdc5a98e26c7f4fad84739c915e7dc09993c


[ROCm/clr commit: 3b6a863eef]
2017-06-05 11:39:00 -05:00
Ben Sander d1fe7f1683 Enable HIP_SYNC_NULL_STREAM=0 optimization.
[ROCm/clr commit: 344b6cb0c0]
2017-06-05 08:50:41 -05:00
Ben Sander 7237ed04f3 Fix HIP_SYNC_NULL_STREAM=0 mode.
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow


[ROCm/clr commit: 823281dcba]
2017-06-05 08:50:22 -05:00
Ben Sander be21cd1a91 Update tests.
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.


[ROCm/clr commit: 863b7c3f56]
2017-06-04 20:18:37 -05:00
Ben Sander 6aaeed821d Update tests, add p2p coherency test.
[ROCm/clr commit: 15f54fb943]
2017-06-03 17:11:34 -05:00
foreman 7bd5997b5c P4 to Git Change 1417876 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2434 to 2435.

Affected files ...

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


[ROCm/clr commit: 1b6f1b949a]
2017-06-03 03:18:41 -04:00
Aditya Atluri 97fa7aeef6 added half data type and vector destructors
1. Added half data types to hip_fp16.h
2. Added destructor to vector data types

Change-Id: Id5ae76a663bb90a4bde2839ec79c58fbaee5072f


[ROCm/clr commit: fdcc223842]
2017-06-02 11:19:33 -05:00
emankov 6235e4bc7f [HIPIFY] annotation
[ROCm/clr commit: c5f9758f4b]
2017-06-02 16:33:48 +03:00
emankov ef444588e1 [HIPIFY] rename legacy hipify perl script and its usage to hipify-perl
[ROCm/clr commit: e7779650e9]
2017-06-02 16:30:43 +03:00
foreman ce97543f32 P4 to Git Change 1417347 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/02 03:00:18
SWDEV-2 - Change OpenCL version number from 2433 to 2434.

Affected files ...

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


[ROCm/clr commit: 04a9e0aac2]
2017-06-02 03:14:25 -04:00
foreman 3fdd56402a P4 to Git Change 1417118 by gandryey@gera-w8 on 2017/06/01 15:09:16
SWDEV-111607 - [Vega][Redstone] Blender 2.78 Corruption observed on generated image
	- Add submit() call for CU cache invalidation to make sure the HW operation was counted

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#25 edit


[ROCm/clr commit: c9760c9f39]
2017-06-01 15:16:52 -04:00
Evgeny Mankov b30b1acc5c [HIPIFY] All CUDA 8.0.44 API functions update
(for both Driver and Runtime APIs)

1) P2P
cuDeviceGetP2PAttribute   cudaDeviceGetP2PAttribute

2) Memory Mngmnt
cuMemPrefetchAsync        cudaMemPrefetchAsync
cuMemAdvise               cudaMemAdvise
cuMemRangeGetAttribute    cudaMemRangeGetAttribute
cuMemRangeGetAttributes   cudaMemRangeGetAttributes

3) Streams (Driver API only, no analogues in Runtime API)
cuStreamWaitValue32
cuStreamWaitValue32
cuStreamWriteValue32

4) Texture Reference Mngmnt (Driver API only, no analogues in Runtime API)
cuTexRefSetBorderColor
cuTexRefGetBorderColor


[ROCm/clr commit: ee85243bcd]
2017-06-01 21:08:33 +03:00
foreman dfaa0707e2 P4 to Git Change 1416741 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2432 to 2433.

Affected files ...

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


[ROCm/clr commit: e67ecb4135]
2017-06-01 03:16:21 -04:00
foreman 33bb27929d P4 to Git Change 1416530 by skudchad@skudchad_test_win_opencl2 on 2017/05/31 16:37:42
SWDEV-121555 - [Gfx10][SW Emulation] - Support for SW emulation path for Compute
	- Create a new envvar PAL_DISABLE_SDMA to disable SDMA in runtime.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#273 edit


[ROCm/clr commit: 4d1e5728ab]
2017-05-31 16:46:02 -04:00
Siu Chi Chan 8514cf513a fix atomicCAS:remove load for the return value after CAS
[ROCm/clr commit: 969931b1ce]
2017-05-31 15:20:19 -04:00
Evgeny Mankov afbf55a9dc [HIP] [HIPIFY] CUDA Driver API 8.0.44 JIT options support.
[ROCm/clr commit: 463c026976]
2017-05-31 18:55:29 +03:00
foreman 2b7a5151e9 P4 to Git Change 1416141 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/31 03:00:14
SWDEV-2 - Change OpenCL version number from 2431 to 2432.

Affected files ...

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


[ROCm/clr commit: 6b1b3219c8]
2017-05-31 03:20:27 -04:00
Maneesh Gupta 0e4e17db27 Fix hipMemoryAllocate test for single GPU
Change-Id: If121c18ab490ba125dc689ffc08a8839fd280c38


[ROCm/clr commit: 06ee0d3704]
2017-05-31 10:16:57 +05:30
Maneesh Gupta 2985fa3814 Disable rcbrtf, scalblnf, scalbnf in single precision device test
Change-Id: I8a250a64a0cb05132d022a11d9766ced9cdf11a7


[ROCm/clr commit: 2145e94049]
2017-05-31 10:16:19 +05:30
Maneesh Gupta 13896d6fb9 Disable rcbrt, scalbln and scalbn double precision device test
Change-Id: I46bd895701c46d3592b553090cafba99e41a2e2d


[ROCm/clr commit: da19087ae2]
2017-05-31 10:15:41 +05:30
Sandeep Kumar ac8089e773 Add readme for inline asm and unroll cookbook samples
Change-Id: I71b7a5652c3dad181c5df60ab0dd1b81d79f1bfb


[ROCm/clr commit: f6b98854ba]
2017-05-31 09:25:50 +05:30
Sandeep Kumar c3167f463d Add inline asm hip directed tests for v_add and v_mac
Change-Id: Ie5ace2e42d5da89b16e040537df2bb13d3883c6d


[ROCm/clr commit: c964a5f208]
2017-05-31 09:25:40 +05:30