76333 Коміти

Автор SHA1 Повідомлення Дата
foreman b8766b0467 P4 to Git Change 1378060 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/26 03:00:09
SWDEV-2 - Change OpenCL version number from 2371 to 2372.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2118 edit
2017-02-27 10:28:57 -05:00
Amber Lin 1025579c0b Implement PMC AcquireTrace
Existing code uses lockf to ensure exclusive PMC access of one process and
one TraceId. However Thunk spec allows hsaKmtPmcAcquireTraceAccess to get
exclusive access to the defined set of counters, not exclusive to one
process or one TraceId. Multiple counter sets of multiple TraceIds is
allowed if they meet the concurrent access limit evaluated by the hardware
/driver.

Change-Id: I59cacb855a707fe326a4070452fcbbd3c95ac223
2017-02-27 09:33:58 -05:00
Amber Lin 39ad1ba008 Implement PMC AcquireTrace
Existing code uses lockf to ensure exclusive PMC access of one process and
one TraceId. However Thunk spec allows hsaKmtPmcAcquireTraceAccess to get
exclusive access to the defined set of counters, not exclusive to one
process or one TraceId. Multiple counter sets of multiple TraceIds is
allowed if they meet the concurrent access limit evaluated by the hardware
/driver.

Change-Id: I59cacb855a707fe326a4070452fcbbd3c95ac223


[ROCm/ROCR-Runtime commit: 1025579c0b]
2017-02-27 09:33:58 -05:00
Rahul Garg b4d190a445 Context management related changes in HIP.
-
-Contexts across threads are listed under device
-Device reset cleans up all contexts and re-initializes _primaryCtx

Change-Id: Ie1cfbb26d43a8dc6869be3e6ebaf7344ce374643


[ROCm/clr commit: c837b8d713]
2017-02-27 15:24:17 +05:30
Rahul Garg c837b8d713 Context management related changes in HIP.
-
-Contexts across threads are listed under device
-Device reset cleans up all contexts and re-initializes _primaryCtx

Change-Id: Ie1cfbb26d43a8dc6869be3e6ebaf7344ce374643
2017-02-27 15:24:17 +05:30
Rahul Garg 4dc60f9990 Context management related changes in HIP.
-
-Contexts across threads are listed under device
-Device reset cleans up all contexts and re-initializes _primaryCtx

Change-Id: Ie1cfbb26d43a8dc6869be3e6ebaf7344ce374643


[ROCm/hip commit: bddd6b73c0]
2017-02-27 15:24:17 +05:30
Rahul Garg bddd6b73c0 Context management related changes in HIP.
-
-Contexts across threads are listed under device
-Device reset cleans up all contexts and re-initializes _primaryCtx

Change-Id: Ie1cfbb26d43a8dc6869be3e6ebaf7344ce374643
2017-02-27 15:24:17 +05:30
Maneesh Gupta 37ab88ae1e Fix nvcc path samples that include math_functions.h
Change-Id: I94bb577b93983535178d8f0dcae57aaa72871534


[ROCm/clr commit: 528736cf58]
2017-02-27 13:20:05 +05:30
Maneesh Gupta 528736cf58 Fix nvcc path samples that include math_functions.h
Change-Id: I94bb577b93983535178d8f0dcae57aaa72871534
2017-02-27 13:20:05 +05:30
Maneesh Gupta 605343ecd4 Fix nvcc path samples that include math_functions.h
Change-Id: I94bb577b93983535178d8f0dcae57aaa72871534


[ROCm/hip commit: 4a6166cd86]
2017-02-27 13:20:05 +05:30
Maneesh Gupta 4a6166cd86 Fix nvcc path samples that include math_functions.h
Change-Id: I94bb577b93983535178d8f0dcae57aaa72871534
2017-02-27 13:20:05 +05:30
Maneesh Gupta 66e9900325 Disable some tests which are broken on nvcc path
Change-Id: I6f8df7687ff1798dc17f6c9b8a7f4cd029ce45d8


[ROCm/clr commit: 578dc68b0a]
2017-02-27 13:19:06 +05:30
Maneesh Gupta 578dc68b0a Disable some tests which are broken on nvcc path
Change-Id: I6f8df7687ff1798dc17f6c9b8a7f4cd029ce45d8
2017-02-27 13:19:06 +05:30
Maneesh Gupta 3a726819e8 Disable some tests which are broken on nvcc path
Change-Id: I6f8df7687ff1798dc17f6c9b8a7f4cd029ce45d8


[ROCm/hip commit: a0b51c69a7]
2017-02-27 13:19:06 +05:30
Maneesh Gupta a0b51c69a7 Disable some tests which are broken on nvcc path
Change-Id: I6f8df7687ff1798dc17f6c9b8a7f4cd029ce45d8
2017-02-27 13:19:06 +05:30
Maneesh Gupta 26c65c826b Fix compilation of some broken tests on nvcc path
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560


[ROCm/clr commit: 40bcf5ed3b]
2017-02-27 13:17:51 +05:30
Maneesh Gupta 40bcf5ed3b Fix compilation of some broken tests on nvcc path
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560
2017-02-27 13:17:51 +05:30
Maneesh Gupta 2799863a54 Fix compilation of some broken tests on nvcc path
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560


[ROCm/hip commit: f1c3dd0dff]
2017-02-27 13:17:51 +05:30
Maneesh Gupta f1c3dd0dff Fix compilation of some broken tests on nvcc path
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560
2017-02-27 13:17:51 +05:30
Maneesh Gupta 045c76a97d directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17


[ROCm/clr commit: fe01dd74a2]
2017-02-27 13:14:08 +05:30
Maneesh Gupta fe01dd74a2 directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17
2017-02-27 13:14:08 +05:30
Maneesh Gupta dd6f21070a directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17


[ROCm/hip commit: 5f689cb986]
2017-02-27 13:14:08 +05:30
Maneesh Gupta 5f689cb986 directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17
2017-02-27 13:14:08 +05:30
Maneesh Gupta f109c9e6da FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d


[ROCm/clr commit: 58272083dd]
2017-02-27 13:11:11 +05:30
Maneesh Gupta 58272083dd FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d
2017-02-27 13:11:11 +05:30
Maneesh Gupta 09da9ae434 FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d


[ROCm/hip commit: 470dd2fbcf]
2017-02-27 13:11:11 +05:30
Maneesh Gupta 470dd2fbcf FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d
2017-02-27 13:11:11 +05:30
foreman 0e3fc184cd P4 to Git Change 1378023 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/25 03:00:05
SWDEV-2 - Change OpenCL version number from 2370 to 2371.

Affected files ...

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


[ROCm/clr commit: d4cb8dc9b0]
2017-02-25 03:13:50 -05:00
foreman d4cb8dc9b0 P4 to Git Change 1378023 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/25 03:00:05
SWDEV-2 - Change OpenCL version number from 2370 to 2371.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2117 edit
2017-02-25 03:13:50 -05:00
foreman 0617de6d84 P4 to Git Change 1377864 by todli@todli-win-opencl-kv1 on 2017/02/24 16:10:12
SWDEV-107271 - For APU system, when allocating USWC with enough USWC reported and the allocation fails, we should return false instead of looping forever.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#12 edit


[ROCm/clr commit: dff4d3c84a]
2017-02-24 16:47:02 -05:00
foreman dff4d3c84a P4 to Git Change 1377864 by todli@todli-win-opencl-kv1 on 2017/02/24 16:10:12
SWDEV-107271 - For APU system, when allocating USWC with enough USWC reported and the allocation fails, we should return false instead of looping forever.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#12 edit
2017-02-24 16:47:02 -05:00
foreman eac85bc28e P4 to Git Change 1377580 by jatang@jatang-opencl-hsa-stg1 on 2017/02/24 10:12:45
SWDEV-99150 - Fix a build error caused by CL#1376394.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#10 edit


[ROCm/clr commit: 33fde89442]
2017-02-24 10:21:55 -05:00
foreman 33fde89442 P4 to Git Change 1377580 by jatang@jatang-opencl-hsa-stg1 on 2017/02/24 10:12:45
SWDEV-99150 - Fix a build error caused by CL#1376394.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#10 edit
2017-02-24 10:21:55 -05:00
foreman 4fc8032ee5 P4 to Git Change 1377391 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/24 03:00:03
SWDEV-2 - Change OpenCL version number from 2369 to 2370.

Affected files ...

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


[ROCm/clr commit: 7631321796]
2017-02-24 03:31:40 -05:00
foreman 7631321796 P4 to Git Change 1377391 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/24 03:00:03
SWDEV-2 - Change OpenCL version number from 2369 to 2370.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2116 edit
2017-02-24 03:31:40 -05:00
foreman c6b97f2746 P4 to Git Change 1377133 by gandryey@gera-w8 on 2017/02/23 18:33:42
SWDEV-114407 - [G] clinfo doesn't report cl_khr_fp16 extension
	- Enable cl_khr_fp16 for PAL path

Affected files ...

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


[ROCm/clr commit: 00be859568]
2017-02-23 18:40:12 -05:00
foreman 00be859568 P4 to Git Change 1377133 by gandryey@gera-w8 on 2017/02/23 18:33:42
SWDEV-114407 - [G] clinfo doesn't report cl_khr_fp16 extension
	- Enable cl_khr_fp16 for PAL path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#18 edit
2017-02-23 18:40:12 -05:00
foreman b65e44205e P4 to Git Change 1377072 by gandryey@gera-w8 on 2017/02/23 16:54:28
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch wait state in HSA copy functions from HSA_WAIT_STATE_ACTIVE to  HSA_WAIT_STATE_BLOCKED

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#13 edit


[ROCm/clr commit: 37a5e9a169]
2017-02-23 17:06:16 -05:00
foreman 37a5e9a169 P4 to Git Change 1377072 by gandryey@gera-w8 on 2017/02/23 16:54:28
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch wait state in HSA copy functions from HSA_WAIT_STATE_ACTIVE to  HSA_WAIT_STATE_BLOCKED

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#13 edit
2017-02-23 17:06:16 -05:00
Aditya Atluri 78f1d54ad6 Added initial support for hipMemcpyFromSymbol. But not working!
Change-Id: I48d8c7de4ec9f85c6c942be995fb488a3931f5d7


[ROCm/clr commit: 7ac5017cb9]
2017-02-23 11:29:06 -06:00
Aditya Atluri 7ac5017cb9 Added initial support for hipMemcpyFromSymbol. But not working!
Change-Id: I48d8c7de4ec9f85c6c942be995fb488a3931f5d7
2017-02-23 11:29:06 -06:00
Aditya Atluri c6969c157a Added initial support for hipMemcpyFromSymbol. But not working!
Change-Id: I48d8c7de4ec9f85c6c942be995fb488a3931f5d7


[ROCm/hip commit: 2e245ae58c]
2017-02-23 11:29:06 -06:00
Aditya Atluri 2e245ae58c Added initial support for hipMemcpyFromSymbol. But not working!
Change-Id: I48d8c7de4ec9f85c6c942be995fb488a3931f5d7
2017-02-23 11:29:06 -06:00
Felix Kuehling 64104fc8d9 Avoid COW after fork for API-allocated system memory
Change-Id: I5c7175114c4e6411d3beb5557e16cb71ddb01189
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2017-02-23 10:28:45 -05:00
Felix Kuehling c28c344f78 Avoid COW after fork for API-allocated system memory
Change-Id: I5c7175114c4e6411d3beb5557e16cb71ddb01189
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 64104fc8d9]
2017-02-23 10:28:45 -05:00
foreman 894cdd4c73 P4 to Git Change 1376751 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/23 03:00:05
SWDEV-2 - Change OpenCL version number from 2368 to 2369.

Affected files ...

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


[ROCm/clr commit: 746913e477]
2017-02-23 03:17:05 -05:00
foreman 746913e477 P4 to Git Change 1376751 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/23 03:00:05
SWDEV-2 - Change OpenCL version number from 2368 to 2369.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2115 edit
2017-02-23 03:17:05 -05:00
Maneesh Gupta 874a182a6c Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550


[ROCm/hip-tests commit: 518967319c]
2017-02-23 11:19:23 +05:30
Maneesh Gupta 518967319c Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550
2017-02-23 11:19:23 +05:30
Maneesh Gupta ae8fc88790 Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550


[ROCm/clr commit: 64db70756b]
2017-02-23 11:19:23 +05:30