Графік комітів

54851 Коміти

Автор SHA1 Повідомлення Дата
Maneesh Gupta 75f8840ca9 Merge branch 'amd-develop' into amd-master
Change-Id: I3802a78577a3979172c0e5fbf39c3db2a044824d
2017-06-06 15:38:03 +05:30
Qingchuan Shi cd35fb280a Patch target name in code object for future-proof
Change-Id: I6f12b5e5791bd1745ec3ab76d382fad50282e733
2017-06-05 19:08:27 -04:00
Qingchuan Shi 410520a18a Patch target name in code object for future-proof
Change-Id: I6f12b5e5791bd1745ec3ab76d382fad50282e733


[ROCm/ROCR-Runtime commit: cd35fb280a]
2017-06-05 19:08:27 -04:00
Chris Freehill 801bf4398c Added async. mem. copy sample.
Change-Id: I4fbb009181056c5f293d17720214b70588d44bdf
2017-06-05 17:20:51 -04:00
Chris Freehill af5b8f343f Added async. mem. copy sample.
Change-Id: I4fbb009181056c5f293d17720214b70588d44bdf


[ROCm/ROCR-Runtime commit: 801bf4398c]
2017-06-05 17:20:51 -04:00
Sun, Peng 450a26e5d4 Improve HIP kernel names, attributes and codegen, contributed by Alex Voicu
Change-Id: I2cafbdc5a98e26c7f4fad84739c915e7dc09993c


[ROCm/clr commit: 3b6a863eef]
2017-06-05 11:39:00 -05:00
Sun, Peng 3b6a863eef Improve HIP kernel names, attributes and codegen, contributed by Alex Voicu
Change-Id: I2cafbdc5a98e26c7f4fad84739c915e7dc09993c
2017-06-05 11:39:00 -05:00
Sun, Peng a9808961bd Improve HIP kernel names, attributes and codegen, contributed by Alex Voicu
Change-Id: I2cafbdc5a98e26c7f4fad84739c915e7dc09993c
2017-06-05 11:39:00 -05:00
Amber Lin ceaaa1a57c A missing block in PMC
DB block was missing in the UUID look-up.

Change-Id: Ife5c25859bab6ec7fd99d0cd4d098ab044a08142
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-06-05 12:21:56 -04:00
Amber Lin b354927222 A missing block in PMC
DB block was missing in the UUID look-up.

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


[ROCm/ROCR-Runtime commit: ceaaa1a57c]
2017-06-05 12:21:56 -04:00
Ben Sander d1fe7f1683 Enable HIP_SYNC_NULL_STREAM=0 optimization.
[ROCm/clr commit: 344b6cb0c0]
2017-06-05 08:50:41 -05:00
Ben Sander 344b6cb0c0 Enable HIP_SYNC_NULL_STREAM=0 optimization. 2017-06-05 08:50:41 -05:00
Ben Sander decf3eee18 Enable HIP_SYNC_NULL_STREAM=0 optimization. 2017-06-05 08:50:41 -05:00
Ben Sander 7237ed04f3 Fix HIP_SYNC_NULL_STREAM=0 mode.
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow


[ROCm/clr commit: 823281dcba]
2017-06-05 08:50:22 -05:00
Ben Sander 823281dcba Fix HIP_SYNC_NULL_STREAM=0 mode.
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow
2017-06-05 08:50:22 -05:00
Ben Sander 39c18e5e5f Fix HIP_SYNC_NULL_STREAM=0 mode.
- Fix null-stream sync
- hipStreamDestroy of null stream returns hipErrorInvalidResourceHandle
- Update documentation.
- Add tests for null stream sync, hipEventElapsedTime.
- Rename internal enum hipEventStatusRecorded to hipEventStatusComplete
- refactor hipStreamWaitEvent to streamline control-flow
2017-06-05 08:50:22 -05:00
Ben Sander be21cd1a91 Update tests.
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.


[ROCm/clr commit: 863b7c3f56]
2017-06-04 20:18:37 -05:00
Ben Sander 863b7c3f56 Update tests.
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.
2017-06-04 20:18:37 -05:00
Ben Sander 8ce6d17983 Update tests.
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.
2017-06-04 20:18:37 -05:00
Ben Sander 6aaeed821d Update tests, add p2p coherency test.
[ROCm/clr commit: 15f54fb943]
2017-06-03 17:11:34 -05:00
Ben Sander 15f54fb943 Update tests, add p2p coherency test. 2017-06-03 17:11:34 -05:00
Ben Sander d5c1616324 Update tests, add p2p coherency test. 2017-06-03 17:11:34 -05:00
foreman 7bd5997b5c P4 to Git Change 1417876 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2434 to 2435.

Affected files ...

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


[ROCm/clr commit: 1b6f1b949a]
2017-06-03 03:18:41 -04:00
foreman 1b6f1b949a P4 to Git Change 1417876 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2434 to 2435.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2182 edit
2017-06-03 03:18:41 -04:00
Jay Cornwall 5db53ceda1 Enable SDMA on gfx9, disable on gfx8
gfx9 has passed qualification. gfx8 stability is under investigation.

Change-Id: Ia72211d47756399ecdfceafeb67c2ab34ebda834
2017-06-02 15:14:14 -05:00
Jay Cornwall dfbad5fa07 Enable SDMA on gfx9, disable on gfx8
gfx9 has passed qualification. gfx8 stability is under investigation.

Change-Id: Ia72211d47756399ecdfceafeb67c2ab34ebda834


[ROCm/ROCR-Runtime commit: 5db53ceda1]
2017-06-02 15:14:14 -05:00
Felix Kuehling 374bd89d8c Remove deprecated implementation of hsaKmtMapGraphicHandle
The KFD implementation has been removed and will not be upstreamed.
This API has been superseded by hsaKmtRegisterGraphicsHandleToNodes.

Change-Id: I5f2d8da3260974618cdb6ea3fdcd77d37b82c9cb
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-06-02 13:52:19 -04:00
Felix Kuehling fce3048015 Remove deprecated implementation of hsaKmtMapGraphicHandle
The KFD implementation has been removed and will not be upstreamed.
This API has been superseded by hsaKmtRegisterGraphicsHandleToNodes.

Change-Id: I5f2d8da3260974618cdb6ea3fdcd77d37b82c9cb
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 374bd89d8c]
2017-06-02 13:52:19 -04:00
Aditya Atluri 97fa7aeef6 added half data type and vector destructors
1. Added half data types to hip_fp16.h
2. Added destructor to vector data types

Change-Id: Id5ae76a663bb90a4bde2839ec79c58fbaee5072f


[ROCm/clr commit: fdcc223842]
2017-06-02 11:19:33 -05:00
Aditya Atluri fdcc223842 added half data type and vector destructors
1. Added half data types to hip_fp16.h
2. Added destructor to vector data types

Change-Id: Id5ae76a663bb90a4bde2839ec79c58fbaee5072f
2017-06-02 11:19:33 -05:00
Aditya Atluri cb7c4c423c added half data type and vector destructors
1. Added half data types to hip_fp16.h
2. Added destructor to vector data types

Change-Id: Id5ae76a663bb90a4bde2839ec79c58fbaee5072f
2017-06-02 11:19:33 -05:00
emankov 6235e4bc7f [HIPIFY] annotation
[ROCm/clr commit: c5f9758f4b]
2017-06-02 16:33:48 +03:00
emankov c5f9758f4b [HIPIFY] annotation 2017-06-02 16:33:48 +03:00
emankov ccc4cd1a3e [HIPIFY] annotation 2017-06-02 16:33:48 +03:00
emankov ef444588e1 [HIPIFY] rename legacy hipify perl script and its usage to hipify-perl
[ROCm/clr commit: e7779650e9]
2017-06-02 16:30:43 +03:00
emankov e7779650e9 [HIPIFY] rename legacy hipify perl script and its usage to hipify-perl 2017-06-02 16:30:43 +03:00
emankov 4d035caedf [HIPIFY] rename legacy hipify perl script and its usage to hipify-perl 2017-06-02 16:30:43 +03:00
foreman ce97543f32 P4 to Git Change 1417347 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/02 03:00:18
SWDEV-2 - Change OpenCL version number from 2433 to 2434.

Affected files ...

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


[ROCm/clr commit: 04a9e0aac2]
2017-06-02 03:14:25 -04:00
foreman 04a9e0aac2 P4 to Git Change 1417347 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/02 03:00:18
SWDEV-2 - Change OpenCL version number from 2433 to 2434.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2181 edit
2017-06-02 03:14:25 -04:00
foreman 3fdd56402a P4 to Git Change 1417118 by gandryey@gera-w8 on 2017/06/01 15:09:16
SWDEV-111607 - [Vega][Redstone] Blender 2.78 Corruption observed on generated image
	- Add submit() call for CU cache invalidation to make sure the HW operation was counted

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#25 edit


[ROCm/clr commit: c9760c9f39]
2017-06-01 15:16:52 -04:00
foreman c9760c9f39 P4 to Git Change 1417118 by gandryey@gera-w8 on 2017/06/01 15:09:16
SWDEV-111607 - [Vega][Redstone] Blender 2.78 Corruption observed on generated image
	- Add submit() call for CU cache invalidation to make sure the HW operation was counted

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#25 edit
2017-06-01 15:16:52 -04:00
Amber Lin 683fc96325 Implement hsaKmtGetQueueInfo interface
For items in HsaQueueInfo, control stack information comes from KFD, CU
mask information is maintained in Thunk, and others (queue detail error
and queue type extended) are ignored (value = 0) at this point.

Change-Id: Ib21370b0f52b2bb4ebe6a9b4b6ec6139cccb25ca
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-06-01 14:15:54 -04:00
Amber Lin dd782c86c0 Implement hsaKmtGetQueueInfo interface
For items in HsaQueueInfo, control stack information comes from KFD, CU
mask information is maintained in Thunk, and others (queue detail error
and queue type extended) are ignored (value = 0) at this point.

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


[ROCm/ROCR-Runtime commit: 683fc96325]
2017-06-01 14:15:54 -04:00
Evgeny Mankov b30b1acc5c [HIPIFY] All CUDA 8.0.44 API functions update
(for both Driver and Runtime APIs)

1) P2P
cuDeviceGetP2PAttribute   cudaDeviceGetP2PAttribute

2) Memory Mngmnt
cuMemPrefetchAsync        cudaMemPrefetchAsync
cuMemAdvise               cudaMemAdvise
cuMemRangeGetAttribute    cudaMemRangeGetAttribute
cuMemRangeGetAttributes   cudaMemRangeGetAttributes

3) Streams (Driver API only, no analogues in Runtime API)
cuStreamWaitValue32
cuStreamWaitValue32
cuStreamWriteValue32

4) Texture Reference Mngmnt (Driver API only, no analogues in Runtime API)
cuTexRefSetBorderColor
cuTexRefGetBorderColor


[ROCm/clr commit: ee85243bcd]
2017-06-01 21:08:33 +03:00
Evgeny Mankov ee85243bcd [HIPIFY] All CUDA 8.0.44 API functions update
(for both Driver and Runtime APIs)

1) P2P
cuDeviceGetP2PAttribute   cudaDeviceGetP2PAttribute

2) Memory Mngmnt
cuMemPrefetchAsync        cudaMemPrefetchAsync
cuMemAdvise               cudaMemAdvise
cuMemRangeGetAttribute    cudaMemRangeGetAttribute
cuMemRangeGetAttributes   cudaMemRangeGetAttributes

3) Streams (Driver API only, no analogues in Runtime API)
cuStreamWaitValue32
cuStreamWaitValue32
cuStreamWriteValue32

4) Texture Reference Mngmnt (Driver API only, no analogues in Runtime API)
cuTexRefSetBorderColor
cuTexRefGetBorderColor
2017-06-01 21:08:33 +03:00
Evgeny Mankov 4a5484c616 [HIPIFY] All CUDA 8.0.44 API functions update
(for both Driver and Runtime APIs)

1) P2P
cuDeviceGetP2PAttribute   cudaDeviceGetP2PAttribute

2) Memory Mngmnt
cuMemPrefetchAsync        cudaMemPrefetchAsync
cuMemAdvise               cudaMemAdvise
cuMemRangeGetAttribute    cudaMemRangeGetAttribute
cuMemRangeGetAttributes   cudaMemRangeGetAttributes

3) Streams (Driver API only, no analogues in Runtime API)
cuStreamWaitValue32
cuStreamWaitValue32
cuStreamWriteValue32

4) Texture Reference Mngmnt (Driver API only, no analogues in Runtime API)
cuTexRefSetBorderColor
cuTexRefGetBorderColor
2017-06-01 21:08:33 +03:00
foreman dfaa0707e2 P4 to Git Change 1416741 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2432 to 2433.

Affected files ...

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


[ROCm/clr commit: e67ecb4135]
2017-06-01 03:16:21 -04:00
foreman e67ecb4135 P4 to Git Change 1416741 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2432 to 2433.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2180 edit
2017-06-01 03:16:21 -04:00
foreman 33bb27929d P4 to Git Change 1416530 by skudchad@skudchad_test_win_opencl2 on 2017/05/31 16:37:42
SWDEV-121555 - [Gfx10][SW Emulation] - Support for SW emulation path for Compute
	- Create a new envvar PAL_DISABLE_SDMA to disable SDMA in runtime.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12850/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#273 edit


[ROCm/clr commit: 4d1e5728ab]
2017-05-31 16:46:02 -04:00
foreman 4d1e5728ab P4 to Git Change 1416530 by skudchad@skudchad_test_win_opencl2 on 2017/05/31 16:37:42
SWDEV-121555 - [Gfx10][SW Emulation] - Support for SW emulation path for Compute
	- Create a new envvar PAL_DISABLE_SDMA to disable SDMA in runtime.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12850/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#273 edit
2017-05-31 16:46:02 -04:00