76333 Révisions

Auteur SHA1 Message Date
Sun, Peng 9bce2af76f Additional GGL make_kernel_functor_* macros, contributed by Alex
Change-Id: I01aabb7d2b5418fcefb1bbf78eb5d1888dbc5c96
2017-06-14 11:10:52 -05:00
Sun, Peng 7e9cfda45e Additional GGL make_kernel_functor_* macros, contributed by Alex
Change-Id: I01aabb7d2b5418fcefb1bbf78eb5d1888dbc5c96


[ROCm/hip commit: fd36303c24]
2017-06-14 11:10:52 -05:00
Sun, Peng fd36303c24 Additional GGL make_kernel_functor_* macros, contributed by Alex
Change-Id: I01aabb7d2b5418fcefb1bbf78eb5d1888dbc5c96
2017-06-14 11:10:52 -05:00
Robert Gregory b3d67ffe0d Initial empty repository
[ROCm/aqlprofile commit: 7c7d7b4022]
2017-06-14 11:29:30 -04:00
Robert Gregory 7c7d7b4022 Initial empty repository 2017-06-14 11:29:30 -04: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
Rahul Garg 85708089d1 Validity check of input arguments in Ipc Mem APIs
Change-Id: Ia48e949d19f354f10c7e44cc2457fd4154bf6d76
2017-06-14 15:18:57 +05:30
Rahul Garg a8a8b2c888 Validity check of input arguments in Ipc Mem APIs
Change-Id: Ia48e949d19f354f10c7e44cc2457fd4154bf6d76


[ROCm/hip commit: ba51d7f676]
2017-06-14 15:18:57 +05:30
Rahul Garg ba51d7f676 Validity check of input arguments in Ipc Mem APIs
Change-Id: Ia48e949d19f354f10c7e44cc2457fd4154bf6d76
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
foreman f8bdb00ade 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
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 5e81056c48 Merge branch 'amd-develop' into amd-master
Change-Id: I3ba6305d6cd8de2381615a7ea54d7954e5514216
2017-06-14 10:06:14 +05:30
Maneesh Gupta cc13186d44 Merge branch 'amd-develop' into amd-master
Change-Id: I3ba6305d6cd8de2381615a7ea54d7954e5514216


[ROCm/hip commit: 69f1fec357]
2017-06-14 10:06:14 +05:30
Maneesh Gupta 69f1fec357 Merge branch 'amd-develop' into amd-master
Change-Id: I3ba6305d6cd8de2381615a7ea54d7954e5514216
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
Maneesh Gupta 4fa2090b78 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780
2017-06-14 09:45:46 +05:30
Maneesh Gupta 77804112c6 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780


[ROCm/hip commit: 901538da77]
2017-06-14 09:45:46 +05:30
Maneesh Gupta 901538da77 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780
2017-06-14 09:45:46 +05:30
Sandeep Kumar ef65747f38 Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e


[ROCm/hip-tests commit: 5c530e7c32]
2017-06-14 09:44:56 +05:30
Sandeep Kumar 5c530e7c32 Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e
2017-06-14 09:44:56 +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
Sandeep Kumar 01842faa1c Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e
2017-06-14 09:44:56 +05:30
Sandeep Kumar 7b3f0eb15f Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e


[ROCm/hip commit: c17ab84882]
2017-06-14 09:44:56 +05:30
Sandeep Kumar c17ab84882 Add peer2peer bandwidth and latency test
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e
2017-06-14 09:44:56 +05:30
Jay Cornwall 75c9506f9d Implement memory fault analysis through context save area
When a fatal memory fault occurs the scheduler context-saves all queues
in the process and notifies the runtime through the memory event. The
saved state contains all GPR/LDS data at the moment of the fault.

Retrieve this state and present it to the user if HSA_DEBUG_FAULT is set
to "analyze" and the wavefront caused the fault. If amdgcn-capable objdump
is in the PATH invoke this to disassemble code around the PC.

Queue lifetime is now managed by the runtime to allow querying the
context save state for all active queues.

Change-Id: I6fee662fad1c4f9aa125bf5c53d7d0ea1ab32f95
2017-06-13 23:12:28 -04:00
Jay Cornwall 498f3a7188 Implement memory fault analysis through context save area
When a fatal memory fault occurs the scheduler context-saves all queues
in the process and notifies the runtime through the memory event. The
saved state contains all GPR/LDS data at the moment of the fault.

Retrieve this state and present it to the user if HSA_DEBUG_FAULT is set
to "analyze" and the wavefront caused the fault. If amdgcn-capable objdump
is in the PATH invoke this to disassemble code around the PC.

Queue lifetime is now managed by the runtime to allow querying the
context save state for all active queues.

Change-Id: I6fee662fad1c4f9aa125bf5c53d7d0ea1ab32f95


[ROCm/ROCR-Runtime commit: 75c9506f9d]
2017-06-13 23:12:28 -04:00
Amber Lin 5114a9368b Change gfx900 compute capability to 9.0.1
9.0.1 is XNACK enabled gfx900 compile target. Compiler must generate ISA
that's XNACK enabled.



Change-Id: Ic4987132ef9f8d06d9e2bcdb8f7eeb875cdd2b44
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-06-13 17:04:42 -04:00
Amber Lin 35dcb1c392 Change gfx900 compute capability to 9.0.1
9.0.1 is XNACK enabled gfx900 compile target. Compiler must generate ISA
that's XNACK enabled.



Change-Id: Ic4987132ef9f8d06d9e2bcdb8f7eeb875cdd2b44
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 5114a9368b]
2017-06-13 17:04:42 -04:00
Evgeny 25035b8d09 Adding HSA extension AMD AQL profile library, see Readme.txt
Change-Id: Icbc1e0fb0185642eabbab411a2138ea030d22be8
2017-06-13 16:18:06 -04:00
Evgeny 2cbff7ec5b Adding HSA extension AMD AQL profile library, see Readme.txt
Change-Id: Icbc1e0fb0185642eabbab411a2138ea030d22be8


[ROCm/ROCR-Runtime commit: 25035b8d09]
2017-06-13 16:18:06 -04:00
Evgeny da831502ab Adding GFXIP and kernel code object
Change-Id: Ieb2dfea8d9e909efac583f541730d77b7d0c9679
2017-06-13 14:58:29 -05:00
Evgeny f17287cec4 Adding GFXIP and kernel code object
Change-Id: Ieb2dfea8d9e909efac583f541730d77b7d0c9679


[ROCm/ROCR-Runtime commit: da831502ab]
2017-06-13 14:58:29 -05:00
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
Evgeny Mankov 82b37fe481 [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.
2017-06-13 20:25:11 +03:00
Evgeny Mankov df7cbf0a1a [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/hip commit: f805bd0c1d]
2017-06-13 20:25:11 +03:00
Evgeny Mankov f805bd0c1d [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.
2017-06-13 20:25:11 +03:00
Harish Kasiviswanathan 5e26827d05 Support deb package build for other architectures
Use build machine architecture to build debian package. Useful for
building on Power8 and ARM64 machines.

Change-Id: I97fc80a6723b139e753019a355f11ced0bba0dd4
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2017-06-13 12:12:37 -04:00
Harish Kasiviswanathan 669b85f6df Support deb package build for other architectures
Use build machine architecture to build debian package. Useful for
building on Power8 and ARM64 machines.

Change-Id: I97fc80a6723b139e753019a355f11ced0bba0dd4
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 5e26827d05]
2017-06-13 12:12:37 -04: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
Rahul Garg 0efd737767 Input args NULL check in hipChooseDevice
Change-Id: I1a7b8cded2f81d739645bbf3dab2f04bb9c3c796
2017-06-13 13:35:50 +05:30
Rahul Garg 0e4dbe0b2f Input args NULL check in hipChooseDevice
Change-Id: I1a7b8cded2f81d739645bbf3dab2f04bb9c3c796


[ROCm/hip commit: a833b9a704]
2017-06-13 13:35:50 +05:30
Rahul Garg a833b9a704 Input args NULL check in hipChooseDevice
Change-Id: I1a7b8cded2f81d739645bbf3dab2f04bb9c3c796
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 7544a92aec 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
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 cd61586801 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
2017-06-12 17:31:11 -04:00
Konstantin Zhuravlyov d98e99949a Update hsa_isa_t entries
- Add 7.0.2 (consumer hawaii)
  - Add 9.0.1 (gfx900 with xnack)
  - Add 9.0.2
  - Add 9.0.3

Change-Id: I6a07797027c4eaf47038837c5ae51e05b2aba0e4
2017-06-12 14:34:11 -04:00
Konstantin Zhuravlyov 79a238eb78 Update hsa_isa_t entries
- Add 7.0.2 (consumer hawaii)
  - Add 9.0.1 (gfx900 with xnack)
  - Add 9.0.2
  - Add 9.0.3

Change-Id: I6a07797027c4eaf47038837c5ae51e05b2aba0e4


[ROCm/ROCR-Runtime commit: d98e99949a]
2017-06-12 14:34: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