Commit Graph

54851 Commits

Author SHA1 Message Date
Maneesh Gupta 247d563114 Merge pull request #252 from phani544/newTests2
More tests for memory,stream & error APIs
2017-11-07 10:38:18 +05:30
Phaneendr-kumar Lanka fc1af184a4 identation change in hipPeekAtLastError
[ROCm/clr commit: 2a1d7db371]
2017-11-07 09:51:32 +05:30
Phaneendr-kumar Lanka 2a1d7db371 identation change in hipPeekAtLastError 2017-11-07 09:51:32 +05:30
Phaneendr-kumar Lanka e06c546283 identation change in hipPeekAtLastError 2017-11-07 09:51:32 +05:30
Alex Voicu 2db0344254 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe
[ROCm/clr commit: 8854dec897]
2017-11-07 00:01:22 +00:00
Alex Voicu 8854dec897 Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe 2017-11-07 00:01:22 +00:00
Alex Voicu adaf6b8dff Merge remote-tracking branch 'origin/master' into feature_use_module_based_dispatch_instead_of_pfe 2017-11-07 00:01:22 +00:00
Ben Sander 2c95d48f87 Check for null event in hipEventElapsedTime
[ROCm/clr commit: e71456cc6c]
2017-11-06 23:49:31 +00:00
Ben Sander e71456cc6c Check for null event in hipEventElapsedTime 2017-11-06 23:49:31 +00:00
Ben Sander f278f67d2d Check for null event in hipEventElapsedTime 2017-11-06 23:49:31 +00:00
Ben Sander f761859993 hipStreamWaitEvent returns success if event created but not recorded
[ROCm/clr commit: b5911acce2]
2017-11-06 23:49:31 +00:00
Ben Sander b5911acce2 hipStreamWaitEvent returns success if event created but not recorded 2017-11-06 23:49:31 +00:00
Ben Sander 16708dd2e0 hipStreamWaitEvent returns success if event created but not recorded 2017-11-06 23:49:31 +00:00
Ben Sander 379b3fc7a0 Make hipEvent_t thread safe.
Support re-recording of same event by different threads.

- Add criticalData structure to hipEvent_t, similar to mechanism used
  for streams, contexts, device.  Events are always locked
  after streams to avoid deadlock.
- ihipEvent_t::locked_copyCrit can be used to copy critical state
  including marker.  The critical state in the event can then
  be re-recorded.
- refactor hipEventElapsedTime.  Remmove stale debug code, native signal
  refs.


[ROCm/clr commit: 955cfbfdc7]
2017-11-06 23:49:25 +00:00
Ben Sander 955cfbfdc7 Make hipEvent_t thread safe.
Support re-recording of same event by different threads.

- Add criticalData structure to hipEvent_t, similar to mechanism used
  for streams, contexts, device.  Events are always locked
  after streams to avoid deadlock.
- ihipEvent_t::locked_copyCrit can be used to copy critical state
  including marker.  The critical state in the event can then
  be re-recorded.
- refactor hipEventElapsedTime.  Remmove stale debug code, native signal
  refs.
2017-11-06 23:49:25 +00:00
Ben Sander 4a2e6f8955 Make hipEvent_t thread safe.
Support re-recording of same event by different threads.

- Add criticalData structure to hipEvent_t, similar to mechanism used
  for streams, contexts, device.  Events are always locked
  after streams to avoid deadlock.
- ihipEvent_t::locked_copyCrit can be used to copy critical state
  including marker.  The critical state in the event can then
  be re-recorded.
- refactor hipEventElapsedTime.  Remmove stale debug code, native signal
  refs.
2017-11-06 23:49:25 +00:00
foreman dfc7fdba8c P4 to Git Change 1479084 by gandryey@gera-w8 on 2017/11/06 13:39:25
SWDEV-133813 - PAL support for Linux Pro: cl-gl interop on OpenCL 1.2
	- Enable GL interop under Linux
	- Enable proper GL device detection logic

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#40 edit


[ROCm/clr commit: 69b10d77ec]
2017-11-06 13:45:22 -05:00
foreman 69b10d77ec P4 to Git Change 1479084 by gandryey@gera-w8 on 2017/11/06 13:39:25
SWDEV-133813 - PAL support for Linux Pro: cl-gl interop on OpenCL 1.2
	- Enable GL interop under Linux
	- Enable proper GL device detection logic

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#40 edit
2017-11-06 13:45:22 -05:00
Maneesh Gupta f00dd1ad73 [hit] Add support for cmake commands as part of test infra
Cmake supports several builtin command-line tools. These tools can
now be specified as part of the HIT block. These commands will be
run during cmake configure step.

Change-Id: I32466c94b2fe1ecdc30249755fc027102295617d


[ROCm/clr commit: f92648e447]
2017-11-06 16:53:57 +05:30
Maneesh Gupta f92648e447 [hit] Add support for cmake commands as part of test infra
Cmake supports several builtin command-line tools. These tools can
now be specified as part of the HIT block. These commands will be
run during cmake configure step.

Change-Id: I32466c94b2fe1ecdc30249755fc027102295617d
2017-11-06 16:53:57 +05:30
Maneesh Gupta 197a7e2600 [hit] Add support for cmake commands as part of test infra
Cmake supports several builtin command-line tools. These tools can
now be specified as part of the HIT block. These commands will be
run during cmake configure step.

Change-Id: I32466c94b2fe1ecdc30249755fc027102295617d
2017-11-06 16:53:57 +05:30
Jenkins db0b18cc1d Merge 'master' into 'amd-master'
Change-Id: I8d932bd34619c71f85311f824f793d8e179dce35


[ROCm/clr commit: e08698eaa4]
2017-11-06 04:11:36 -06:00
Jenkins e08698eaa4 Merge 'master' into 'amd-master'
Change-Id: I8d932bd34619c71f85311f824f793d8e179dce35
2017-11-06 04:11:36 -06:00
Jenkins a9411cd0db Merge 'master' into 'amd-master'
Change-Id: I8d932bd34619c71f85311f824f793d8e179dce35
2017-11-06 04:11:36 -06:00
Phaneendr-kumar Lanka b36eb26ef0 Modified tests as per review
[ROCm/clr commit: e18f4239b6]
2017-11-06 15:13:36 +05:30
Phaneendr-kumar Lanka e18f4239b6 Modified tests as per review 2017-11-06 15:13:36 +05:30
Phaneendr-kumar Lanka 9ee330451a Modified tests as per review 2017-11-06 15:13:36 +05:30
Phaneendr-kumar Lanka 700890e19a More tests for memory,stream & error APIs
[ROCm/clr commit: 7427abba04]
2017-11-06 11:31:52 +05:30
Phaneendr-kumar Lanka 7427abba04 More tests for memory,stream & error APIs 2017-11-06 11:31:52 +05:30
Phaneendr-kumar Lanka 093279b10b More tests for memory,stream & error APIs 2017-11-06 11:31:52 +05:30
Maneesh Gupta db9b583cb6 Merge pull request #251 from ROCm-Developer-Tools/fix_event_state
Set event state AFTER it is recorded.

[ROCm/clr commit: dbb6b2bab8]
2017-11-06 07:28:11 +05:30
Maneesh Gupta dbb6b2bab8 Merge pull request #251 from ROCm-Developer-Tools/fix_event_state
Set event state AFTER it is recorded.
2017-11-06 07:28:11 +05:30
Maneesh Gupta 1131c9e41a Merge pull request #251 from ROCm-Developer-Tools/fix_event_state
Set event state AFTER it is recorded.
2017-11-06 07:28:11 +05:30
Maneesh Gupta 6bc2170189 Merge pull request #249 from bensander/warn_event
Add HIP_DB=warn + message if sync on dangerous event.

[ROCm/clr commit: 958ca62c63]
2017-11-06 07:25:40 +05:30
Maneesh Gupta 958ca62c63 Merge pull request #249 from bensander/warn_event
Add HIP_DB=warn + message if sync on dangerous event.
2017-11-06 07:25:40 +05:30
Maneesh Gupta a62d5aa875 Merge pull request #249 from bensander/warn_event
Add HIP_DB=warn + message if sync on dangerous event.
2017-11-06 07:25:40 +05:30
Maneesh Gupta 5b217496ec Merge pull request #239 from phani544/newTests
[newTests]Adding tests for device APIs

[ROCm/clr commit: 544538fd88]
2017-11-06 07:22:13 +05:30
Maneesh Gupta 544538fd88 Merge pull request #239 from phani544/newTests
[newTests]Adding tests for device APIs
2017-11-06 07:22:13 +05:30
Maneesh Gupta 2f4e1983e2 Merge pull request #239 from phani544/newTests
[newTests]Adding tests for device APIs
2017-11-06 07:22:13 +05:30
Ben Sander 0c5ce41d7c Set event state AFTER it is recorded.
[ROCm/clr commit: 1c65bb1684]
2017-11-05 10:33:18 -06:00
Ben Sander 1c65bb1684 Set event state AFTER it is recorded. 2017-11-05 10:33:18 -06:00
Ben Sander 4c3b65a5cd Set event state AFTER it is recorded. 2017-11-05 10:33:18 -06:00
foreman 9f30f9d211 P4 to Git Change 1478813 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/05 02:00:09
SWDEV-2 - Change OpenCL version number from 2534 to 2535.

Affected files ...

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


[ROCm/clr commit: 1504bc58d0]
2017-11-05 02:09:26 -05:00
foreman 1504bc58d0 P4 to Git Change 1478813 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/05 02:00:09
SWDEV-2 - Change OpenCL version number from 2534 to 2535.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2282 edit
2017-11-05 02:09:26 -05:00
foreman 4a68fedb54 P4 to Git Change 1478682 by wchau@wchau_OCL_boltzmann on 2017/11/03 16:13:20
SWDEV-135791 - Set kernel max work group size from metadata

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#29 edit


[ROCm/clr commit: ebc3b138a7]
2017-11-03 16:37:11 -04:00
foreman ebc3b138a7 P4 to Git Change 1478682 by wchau@wchau_OCL_boltzmann on 2017/11/03 16:13:20
SWDEV-135791 - Set kernel max work group size from metadata

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#29 edit
2017-11-03 16:37:11 -04:00
Chris Freehill 1b86c30dfa Rename to rocminfo
Change-Id: Ifd0ba9aaa4078dc2771e15bb254ba1c4ec2acf1e


[ROCm/rocminfo commit: 5c6e06c80f]
2017-11-03 14:04:51 -05:00
Chris Freehill 5c6e06c80f Rename to rocminfo
Change-Id: Ifd0ba9aaa4078dc2771e15bb254ba1c4ec2acf1e
2017-11-03 14:04:51 -05:00
foreman 94974e156e P4 to Git Change 1478591 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/03 14:24:57
SWDEV-102733 - More cmake updates to fix few conformance tests with open source build
	- test_api min_max_language_version
	- test_basic kernel_preprocessor_macros

Affected files ...

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


[ROCm/clr commit: ef5f4c2fd8]
2017-11-03 14:29:13 -04:00
foreman ef5f4c2fd8 P4 to Git Change 1478591 by kzhuravl@kzhuravl-fiji-ocllc on 2017/11/03 14:24:57
SWDEV-102733 - More cmake updates to fix few conformance tests with open source build
	- test_api min_max_language_version
	- test_basic kernel_preprocessor_macros

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#8 edit
2017-11-03 14:29:13 -04:00