76333 Commit

Autore SHA1 Messaggio Data
pensun 4570877142 add hipEvent* macros on NV path
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1
2016-09-29 01:22:19 -05:00
pensun 04871c910b add hipEvent* macros on NV path
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1


[ROCm/hip commit: 4fa5e980ef]
2016-09-29 01:22:19 -05:00
pensun 4fa5e980ef add hipEvent* macros on NV path
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1
2016-09-29 01:22:19 -05:00
Maneesh Gupta b6abc6b0fb Rebuild hip_hcc if hcc version changes
And also force rebuild of .buildInfo & .version everytime

Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc


[ROCm/clr commit: 1df4c1288a]
2016-09-29 10:29:35 +05:30
Maneesh Gupta 1df4c1288a Rebuild hip_hcc if hcc version changes
And also force rebuild of .buildInfo & .version everytime

Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc
2016-09-29 10:29:35 +05:30
Maneesh Gupta 9bd368d7ba Rebuild hip_hcc if hcc version changes
And also force rebuild of .buildInfo & .version everytime

Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc


[ROCm/hip commit: 96e8027d81]
2016-09-29 10:29:35 +05:30
Maneesh Gupta 96e8027d81 Rebuild hip_hcc if hcc version changes
And also force rebuild of .buildInfo & .version everytime

Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc
2016-09-29 10:29:35 +05:30
foreman e7837bd664 P4 to Git Change 1319819 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/28 03:00:08
SWDEV-2 - Change OpenCL version number from 2227 to 2228.

Affected files ...

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


[ROCm/clr commit: bf954b958a]
2016-09-28 03:12:09 -04:00
foreman bf954b958a P4 to Git Change 1319819 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/28 03:00:08
SWDEV-2 - Change OpenCL version number from 2227 to 2228.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1974 edit
2016-09-28 03:12:09 -04:00
foreman e410fa30e7 P4 to Git Change 1319752 by lmoriche@lmoriche_opencl_dev on 2016/09/28 00:48:39
SWDEV-103420 - [ROCm CQE][OCLonLC][Fiji] 9 of 47 tests failed in oclperf.so component in Fiji
	Enable image support for the Lightning path.

Affected files ...

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


[ROCm/clr commit: 59612c30f9]
2016-09-28 00:55:30 -04:00
foreman 59612c30f9 P4 to Git Change 1319752 by lmoriche@lmoriche_opencl_dev on 2016/09/28 00:48:39
SWDEV-103420 - [ROCm CQE][OCLonLC][Fiji] 9 of 47 tests failed in oclperf.so component in Fiji
	Enable image support for the Lightning path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#20 edit
2016-09-28 00:55:30 -04:00
pensun eb5bb292ae change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189


[ROCm/clr commit: e6d7ecc0f5]
2016-09-27 23:00:11 -05:00
pensun e6d7ecc0f5 change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189
2016-09-27 23:00:11 -05:00
pensun 4caa41f175 change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189


[ROCm/hip commit: eac2533a92]
2016-09-27 23:00:11 -05:00
pensun eac2533a92 change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189
2016-09-27 23:00:11 -05:00
Ben Sander d5d764a4d4 Refactor asyncCopy and syncCopy to fix deadlock case.
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
    - Stream was locked to ensure thread-safe enqueue to the queue.
    - Devices were locked to query peer-lists.

Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018


[ROCm/clr commit: 806e58ca63]
2016-09-27 15:45:40 -05:00
Ben Sander 806e58ca63 Refactor asyncCopy and syncCopy to fix deadlock case.
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
    - Stream was locked to ensure thread-safe enqueue to the queue.
    - Devices were locked to query peer-lists.

Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018
2016-09-27 15:45:40 -05:00
Ben Sander 7fc988bc45 Refactor asyncCopy and syncCopy to fix deadlock case.
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
    - Stream was locked to ensure thread-safe enqueue to the queue.
    - Devices were locked to query peer-lists.

Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018


[ROCm/hip commit: 4ff6dc8f38]
2016-09-27 15:45:40 -05:00
Ben Sander 4ff6dc8f38 Refactor asyncCopy and syncCopy to fix deadlock case.
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
    - Stream was locked to ensure thread-safe enqueue to the queue.
    - Devices were locked to query peer-lists.

Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018
2016-09-27 15:45:40 -05:00
Ben Sander a0ec18c516 Add debug option to print ThreadID with each message.
Also print messages with single fprintf to prevents threads from
interleaving.

Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff


[ROCm/clr commit: 4fd4168796]
2016-09-27 15:45:40 -05:00
Ben Sander 4fd4168796 Add debug option to print ThreadID with each message.
Also print messages with single fprintf to prevents threads from
interleaving.

Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff
2016-09-27 15:45:40 -05:00
Ben Sander 7f7340fb29 Add debug option to print ThreadID with each message.
Also print messages with single fprintf to prevents threads from
interleaving.

Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff


[ROCm/hip commit: 6de9136002]
2016-09-27 15:45:40 -05:00
Ben Sander 6de9136002 Add debug option to print ThreadID with each message.
Also print messages with single fprintf to prevents threads from
interleaving.

Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff
2016-09-27 15:45:40 -05:00
Ben Sander 89dd26a07a Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef


[ROCm/clr commit: c53349a371]
2016-09-27 15:45:40 -05:00
Ben Sander c53349a371 Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef
2016-09-27 15:45:40 -05:00
Ben Sander 1b24a93b79 Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef


[ROCm/hip commit: c36ba0ea58]
2016-09-27 15:45:40 -05:00
Ben Sander c36ba0ea58 Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef
2016-09-27 15:45:40 -05:00
foreman b9215bee28 P4 to Git Change 1319465 by lmoriche@lmoriche_opencl_dev on 2016/09/27 14:56:10
SWDEV-103418 - [ROCm CQE][OCLonLC][Fiji] OCLCreateBuffer results in Segmentation fault
	Fix KernelBlitManager::createProgram to report an error if one or more blit kernel could not be created. Re-enable the image blit kernels in the blit program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#4 edit


[ROCm/clr commit: fd73443cb0]
2016-09-27 15:06:48 -04:00
foreman fd73443cb0 P4 to Git Change 1319465 by lmoriche@lmoriche_opencl_dev on 2016/09/27 14:56:10
SWDEV-103418 - [ROCm CQE][OCLonLC][Fiji] OCLCreateBuffer results in Segmentation fault
	Fix KernelBlitManager::createProgram to report an error if one or more blit kernel could not be created. Re-enable the image blit kernels in the blit program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#4 edit
2016-09-27 15:06:48 -04:00
Aditya Atluri ef4ed33772 Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95


[ROCm/clr commit: 04b68a515d]
2016-09-27 13:33:42 -05:00
Aditya Atluri 04b68a515d Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95
2016-09-27 13:33:42 -05:00
Aditya Atluri 92dff2234f Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95


[ROCm/hip commit: 5b45c97a30]
2016-09-27 13:33:42 -05:00
Aditya Atluri 5b45c97a30 Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95
2016-09-27 13:33:42 -05:00
Aditya Atluri 99095ec70e added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87


[ROCm/clr commit: 4299316039]
2016-09-27 13:04:35 -05:00
Aditya Atluri 4299316039 added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87
2016-09-27 13:04:35 -05:00
Aditya Atluri 9dd52d97eb added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87


[ROCm/hip commit: 1b14393a85]
2016-09-27 13:04:35 -05:00
Aditya Atluri 1b14393a85 added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87
2016-09-27 13:04:35 -05:00
Aditya Atluri 0f1df51a33 fallthrough if deviceId pointer is null
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c


[ROCm/clr commit: 57872d2a88]
2016-09-27 11:47:58 -05:00
Aditya Atluri 57872d2a88 fallthrough if deviceId pointer is null
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c
2016-09-27 11:47:58 -05:00
Aditya Atluri 55dc5b12e8 fallthrough if deviceId pointer is null
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c


[ROCm/hip commit: 3e64222184]
2016-09-27 11:47:58 -05:00
Aditya Atluri 3e64222184 fallthrough if deviceId pointer is null
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c
2016-09-27 11:47:58 -05:00
Aditya Atluri d8e4eb476e added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704


[ROCm/clr commit: 977918badf]
2016-09-27 11:38:31 -05:00
Aditya Atluri 977918badf added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704
2016-09-27 11:38:31 -05:00
Aditya Atluri e8eff449ec added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704


[ROCm/hip commit: 4d56ac99e4]
2016-09-27 11:38:31 -05:00
Aditya Atluri 4d56ac99e4 added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704
2016-09-27 11:38:31 -05:00
foreman ca799f5cad P4 to Git Change 1319372 by gandryey@gera-w8 on 2016/09/27 12:16:18
SWDEV-102288 - [CQE OCL][OpenCL on PAL] 32bit "ExtractPrimes" OpenCL SDK Sample is causing TDR followed by crash
	- Disable OCL2.0 with 32 bit binaries for VI+

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#7 edit


[ROCm/clr commit: 9aa76246e5]
2016-09-27 12:22:54 -04:00
foreman 9aa76246e5 P4 to Git Change 1319372 by gandryey@gera-w8 on 2016/09/27 12:16:18
SWDEV-102288 - [CQE OCL][OpenCL on PAL] 32bit "ExtractPrimes" OpenCL SDK Sample is causing TDR followed by crash
	- Disable OCL2.0 with 32 bit binaries for VI+

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#7 edit
2016-09-27 12:22:54 -04:00
James Edwards 809356e0b5 Update runtime CMakeLists.txt and utility files to support top level CMakeLists.txt build.
Change-Id: I4a0eb512af82908a24f2d1964b201c28023ccae5
2016-09-27 11:58:31 -04:00
James Edwards b9b6f69860 Update runtime CMakeLists.txt and utility files to support top level CMakeLists.txt build.
Change-Id: I4a0eb512af82908a24f2d1964b201c28023ccae5


[ROCm/ROCR-Runtime commit: 809356e0b5]
2016-09-27 11:58:31 -04:00
foreman c92e253812 P4 to Git Change 1319330 by gandryey@gera-w8 on 2016/09/27 11:03:51
SWDEV-86035 - Add PAL backend to OpenCL
	- Use wait() for now to match GSL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#25 edit


[ROCm/clr commit: 692f05e628]
2016-09-27 11:15:47 -04:00