Commit Graph

13677 Commits

Author SHA1 Message Date
sunway513 9f949c5ec3 Fix docs for HIP_TRACE_API bit masks.
[ROCm/clr commit: c80d906624]
2017-06-26 17:54:30 -05:00
Sun, Peng 2582679911 Add support of HIP_HIDDEN_FREE_MEM, to deduct the returned available
memory from hipMemGetInfo API, measured in MB.

Change-Id: I7a8260c12e032e04e26611db4c38c893a29f2653


[ROCm/clr commit: e5ce585307]
2017-06-26 15:29:38 -05:00
foreman 25943ff03d P4 to Git Change 1426879 by cpaquot@cpaquot-ocl-lc-lnx on 2017/06/26 15:12:46
SWDEV-107819 - Offset buffer address

Affected files ...

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


[ROCm/clr commit: 815623b306]
2017-06-26 15:19:59 -04:00
Kent Knox ff920bc06e Adding initial set Jenkinsfile and dockerfiles
For continuous integration enablement


[ROCm/clr commit: 3ee99588f4]
2017-06-26 13:18:15 -05:00
Aditya Atluri ede75a84ab fixed default args for symbol memcpy apis
Change-Id: Ie0b63f8b9c5535eb3946bd6af3f30fe71a015244


[ROCm/clr commit: 3043766899]
2017-06-23 19:05:44 -05:00
Ben Sander 16b2a0b76e Add docs for launch_bounds.
[ROCm/clr commit: 76c2397281]
2017-06-23 18:05:30 -05:00
Ben Sander ccc085e4db Add option to pass names to HCC dispatch API (for debug)
[ROCm/clr commit: c7382f7da6]
2017-06-23 18:05:30 -05:00
Ben Sander f1bed37a34 Clean up old USE_* and RELEASE.md notes.
[ROCm/clr commit: 42882ddf9c]
2017-06-23 18:05:30 -05:00
Evgeny Mankov 92e8c13490 [HIPIFY] [DOC] Fix typo.
[ROCm/clr commit: ec2c1316a8]
2017-06-23 21:59:24 +03:00
foreman 0821063d4b P4 to Git Change 1425994 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/23 03:00:04
SWDEV-2 - Change OpenCL version number from 2444 to 2445.

Affected files ...

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


[ROCm/clr commit: 312f61558d]
2017-06-23 03:10:24 -04:00
Evgeny Mankov 8c20ecdfde [HIPIFY] Sync more CUDA Driver API functions.
+ 4.14. Event Management
+ 4.15. Execution Control

ToDo: 4.16 - 4.31 modules of CUDA Driver API.


[ROCm/clr commit: cbb5c63dd6]
2017-06-22 21:53:32 +03:00
foreman d56895314f P4 to Git Change 1425764 by gandryey@gera-w8 on 2017/06/22 14:05:15
SWDEV-79445 - OCL generic changes and code clean-up
	- Keep the liquidflash calls for win32 only, since the interface isn't exposed under Linux at all

Affected files ...

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


[ROCm/clr commit: 8015418605]
2017-06-22 14:13:27 -04:00
foreman aa251eeae4 P4 to Git Change 1425751 by gandryey@gera-w8 on 2017/06/22 13:46:26
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix for LiquidFlash. Add different condition for Linux build detection

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#44 edit


[ROCm/clr commit: f71a338de7]
2017-06-22 13:52:33 -04:00
foreman 0bf329a1c8 P4 to Git Change 1425559 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/22 03:00:03
SWDEV-2 - Change OpenCL version number from 2443 to 2444.

Affected files ...

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


[ROCm/clr commit: 6ea83d1be3]
2017-06-22 03:10:10 -04:00
foreman 9d87eb1016 P4 to Git Change 1425037 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/21 03:00:04
SWDEV-2 - Change OpenCL version number from 2442 to 2443.

Affected files ...

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


[ROCm/clr commit: 2db2eef7ab]
2017-06-21 03:14:02 -04:00
foreman c78eb85c21 P4 to Git Change 1424893 by gandryey@gera-w8 on 2017/06/20 17:18:40
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove build dependency from libdrm and libdrm-amdgpu libs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/lnxheaders.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/profuncs.hpp#1 add


[ROCm/clr commit: 7fe63d653c]
2017-06-20 17:27:45 -04:00
Aditya Atluri 512482badd removed rm for /opt/rocm/hip/src in inline asm sample
Change-Id: I0c02bccd4cd35e01a8e889ea1e586ea8baf0ab90


[ROCm/clr commit: fba69b1ce7]
2017-06-20 11:35:52 -05:00
Rahul Garg 3e29f81050 Added device side abort function in HIP/NVCC
Change-Id: I6ae35a72a8b9c34852619f02da1a046c8d3b2ed3


[ROCm/clr commit: 0fd6b59e22]
2017-06-20 09:38:56 +05:30
Rahul Garg 20dd968547 Abort device function in HIP/HCC, need new HCC
Change-Id: I4195ab75e9b7b48c8b8128d6925ddc0fa5e9e009


[ROCm/clr commit: d9935cd089]
2017-06-18 12:31:31 +05:30
foreman 654701d07a P4 to Git Change 1423425 by lmoriche@lmoriche_palamida on 2017/06/16 13:49:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Update from git.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/bc2h.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#7 edit


[ROCm/clr commit: 8184f21bc6]
2017-06-16 14:07:54 -04:00
foreman 13f0fb8d81 P4 to Git Change 1423425 by lmoriche@lmoriche_palamida on 2017/06/16 13:49:36
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Update from git.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/bc2h.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#7 edit


[ROCm/clr commit: 7c47ea5085]
2017-06-16 14:07:54 -04:00
Aditya Atluri 1634130267 fixed float2int functions
Change-Id: I67be79149f06daacf0f0d131bdedabf294126248


[ROCm/clr commit: f139d5a52f]
2017-06-16 09:07:06 -05:00
Aditya Atluri cd12c963b0 removed bad copy constructor
Change-Id: I661991d9d43941a61848b0b8e9879c0bfa811b40


[ROCm/clr commit: 34e14bb02d]
2017-06-16 09:02:26 -05:00
foreman f4ad824fa2 P4 to Git Change 1422694 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/15 03:00:30
SWDEV-2 - Change OpenCL version number from 2441 to 2442.

Affected files ...

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


[ROCm/clr commit: e18183ddf8]
2017-06-15 03:15:52 -04:00
foreman efba38d6db P4 to Git Change 1422533 by wchau@wchau_OCL_boltzmann on 2017/06/14 17:14:23
SWDEV-124405 - Observed "Segmentation fault (core dumped()" while running clinfo.
	Add support of GFX901 for Vega10.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#55 edit


[ROCm/clr commit: c95e8d22e7]
2017-06-14 17:25:11 -04:00
Rahul Garg 52af9a3cf3 Arguments validation in hipDeviceGetPCIBusId
Change-Id: I89770517c3ac94e4bf476344d27c18f03cfcde08


[ROCm/clr commit: 3f25611692]
2017-06-15 00:21:47 +05:30
Evgeny Mankov 1912c9f308 [HIPIFY] Sync HIPIFY with HIP by CUDA Driver API functions.
+ 4.12. Unified Addressing
+ 4.13. Stream Management

ToDo: 4.14 - 4.31 modules of CUDA Driver API.


[ROCm/clr commit: 094f1b1f2f]
2017-06-14 19:55:55 +03:00
Sun, Peng a1a23c69d3 Additional GGL make_kernel_functor_* macros, contributed by Alex
Change-Id: I01aabb7d2b5418fcefb1bbf78eb5d1888dbc5c96


[ROCm/clr commit: 9bce2af76f]
2017-06-14 11:10:52 -05:00
Rahul Garg 389f1d6aa8 Validity check of input arguments in Ipc Mem APIs
Change-Id: Ia48e949d19f354f10c7e44cc2457fd4154bf6d76


[ROCm/clr commit: 85708089d1]
2017-06-14 15:18:57 +05:30
foreman 8e16a29652 P4 to Git Change 1422118 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/14 03:00:03
SWDEV-2 - Change OpenCL version number from 2440 to 2441.

Affected files ...

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


[ROCm/clr commit: f8bdb00ade]
2017-06-14 03:07:34 -04:00
Maneesh Gupta 9f3ce41507 Merge branch 'amd-develop' into amd-master
Change-Id: I3ba6305d6cd8de2381615a7ea54d7954e5514216


[ROCm/clr commit: 5e81056c48]
2017-06-14 10:06:14 +05:30
Maneesh Gupta 86f2c1e395 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780


[ROCm/clr commit: 4fa2090b78]
2017-06-14 09:45:46 +05:30
Sandeep Kumar b237b83101 Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e


[ROCm/clr commit: 01842faa1c]
2017-06-14 09:44:56 +05:30
Evgeny Mankov cfe2dc9fc0 [HIPIFY] Initial sync HIPIFY with HIP by CUDA Driver API functions.
+ CUDA_Driver_API_functions_supported_by_HIP.md update.
+ Initial update of HIPIFY with CUDA driver API functions:
  1.Error Handling, 2.Initialization, 3.Version Management, 5-6.Device Management, 7.Primary Context, 8-9.Context, 10.Module Management, 11.Memory Management.
+ Sync HIP functions against CUDA Driver and Runtime API functions.
+ Typo fixes.

ToDo: 12-30 modules of CUDA Driver API.


[ROCm/clr commit: 82b37fe481]
2017-06-13 20:25:11 +03:00
Rahul Garg f48cbf564a Input args NULL check in hipChooseDevice
Change-Id: I1a7b8cded2f81d739645bbf3dab2f04bb9c3c796


[ROCm/clr commit: 0efd737767]
2017-06-13 13:35:50 +05:30
foreman 177dbbc9ac P4 to Git Change 1421594 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/13 03:00:04
SWDEV-2 - Change OpenCL version number from 2439 to 2440.

Affected files ...

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


[ROCm/clr commit: 7544a92aec]
2017-06-13 03:09:39 -04:00
foreman 4b0086bca3 P4 to Git Change 1421454 by yaxunl@yaxunl_stg_win50 on 2017/06/12 17:18:49
SWDEV-123891 - Bump up OpenCL SC_CLIENT_INTERFACE_MAJOR_VERSION from 1 to 4 Part 2/2

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scCompile89.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#15 edit


[ROCm/clr commit: cd61586801]
2017-06-12 17:31:11 -04:00
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 ab1984492b Merge branch 'amd-develop' into amd-master
Change-Id: I7f2fba7875ed1c89dfc768f7415ed6fb0d1c6407


[ROCm/clr commit: 3d87f73924]
2017-06-12 11:22:53 +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