76333 Коміти

Автор SHA1 Повідомлення Дата
Maneesh Gupta 64db70756b Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550
2017-02-23 11:19:23 +05:30
Maneesh Gupta a12f087d2c Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550


[ROCm/hip commit: 6e76723e6e]
2017-02-23 11:19:23 +05:30
Maneesh Gupta 6e76723e6e Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550
2017-02-23 11:19:23 +05:30
Maneesh Gupta affb657bca Fix export interfaces in hip-config.cmake
Change-Id: Ifad4661ab17d7e6edb6ab300f1e92552ed917950


[ROCm/clr commit: d193187601]
2017-02-23 11:18:06 +05:30
Maneesh Gupta d193187601 Fix export interfaces in hip-config.cmake
Change-Id: Ifad4661ab17d7e6edb6ab300f1e92552ed917950
2017-02-23 11:18:06 +05:30
Maneesh Gupta e5682bd659 Fix export interfaces in hip-config.cmake
Change-Id: Ifad4661ab17d7e6edb6ab300f1e92552ed917950


[ROCm/hip commit: 270054859a]
2017-02-23 11:18:06 +05:30
Maneesh Gupta 270054859a Fix export interfaces in hip-config.cmake
Change-Id: Ifad4661ab17d7e6edb6ab300f1e92552ed917950
2017-02-23 11:18:06 +05:30
Aditya Atluri 945526cf77 added runtime api hipMemcpyFromSymbolAsync
Change-Id: Ibaf925faf0ba464dd0ed6c5ea74c224c2ce38889


[ROCm/clr commit: 3d348b2d81]
2017-02-22 19:16:35 -06:00
Aditya Atluri 3d348b2d81 added runtime api hipMemcpyFromSymbolAsync
Change-Id: Ibaf925faf0ba464dd0ed6c5ea74c224c2ce38889
2017-02-22 19:16:35 -06:00
Aditya Atluri d24435ea9b added runtime api hipMemcpyFromSymbolAsync
Change-Id: Ibaf925faf0ba464dd0ed6c5ea74c224c2ce38889


[ROCm/hip commit: 639fd4dd5e]
2017-02-22 19:16:35 -06:00
Aditya Atluri 639fd4dd5e added runtime api hipMemcpyFromSymbolAsync
Change-Id: Ibaf925faf0ba464dd0ed6c5ea74c224c2ce38889
2017-02-22 19:16:35 -06:00
Aditya Atluri 94f0fdfc5b Enable symbol tests
Change-Id: I6bd036bf00c8051c8ff728ee60562c4ebd222160


[ROCm/clr commit: 2e3f3c7d26]
2017-02-22 13:42:03 -06:00
Aditya Atluri 2e3f3c7d26 Enable symbol tests
Change-Id: I6bd036bf00c8051c8ff728ee60562c4ebd222160
2017-02-22 13:42:03 -06:00
Aditya Atluri 9e1a6a4013 Enable symbol tests
Change-Id: I6bd036bf00c8051c8ff728ee60562c4ebd222160


[ROCm/hip commit: d52c5867f2]
2017-02-22 13:42:03 -06:00
Aditya Atluri d52c5867f2 Enable symbol tests
Change-Id: I6bd036bf00c8051c8ff728ee60562c4ebd222160
2017-02-22 13:42:03 -06:00
foreman ac15ae22bb P4 to Git Change 1376394 by jatang@jatang-opencl-hsa-stg2 on 2017/02/22 11:02:43
SWDEV-99150 - Convert PerfCounter indexing scheme from ORCA to PAL.

	PAL is using a different PerfCounter indexing scheme, so need to make the conversion to make CodeXL behave the same.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#8 edit


[ROCm/clr commit: 1fe7c40048]
2017-02-22 11:15:34 -05:00
foreman 1fe7c40048 P4 to Git Change 1376394 by jatang@jatang-opencl-hsa-stg2 on 2017/02/22 11:02:43
SWDEV-99150 - Convert PerfCounter indexing scheme from ORCA to PAL.

	PAL is using a different PerfCounter indexing scheme, so need to make the conversion to make CodeXL behave the same.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#8 edit
2017-02-22 11:15:34 -05:00
Paul e4306010b8 Update for lower case hip
[ROCm/clr commit: 7e3a2bc1eb]
2017-02-22 15:18:38 +05:30
Paul 7e3a2bc1eb Update for lower case hip 2017-02-22 15:18:38 +05:30
Paul b98e396fc9 Update for lower case hip
[ROCm/hip commit: 5dbf7e0618]
2017-02-22 15:18:38 +05:30
Paul 5dbf7e0618 Update for lower case hip 2017-02-22 15:18:38 +05:30
Paul e105026042 Change order of find_dependency
[ROCm/clr commit: 2f34d211b1]
2017-02-22 15:18:11 +05:30
Paul 2f34d211b1 Change order of find_dependency 2017-02-22 15:18:11 +05:30
Paul 7831962f6d Change order of find_dependency
[ROCm/hip commit: 2e83e3a01d]
2017-02-22 15:18:11 +05:30
Paul 2e83e3a01d Change order of find_dependency 2017-02-22 15:18:11 +05:30
Aditya Atluri 8078d7d4cc added typedef for half and half2
Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc


[ROCm/clr commit: 4ef664a633]
2017-02-21 14:44:37 -06:00
Aditya Atluri 4ef664a633 added typedef for half and half2
Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc
2017-02-21 14:44:37 -06:00
Aditya Atluri a89ef49454 added typedef for half and half2
Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc


[ROCm/hip commit: a1f3955860]
2017-02-21 14:44:37 -06:00
Aditya Atluri a1f3955860 added typedef for half and half2
Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc
2017-02-21 14:44:37 -06:00
Amber Lin cb60c5f18a Support multiple blocks in RegisterTrace
Existing code assumes all counters sent to hsaKmtPmcRegisterTrace belong
to one PMC block and this block is SQ. This patch considers cases when
counters are in different blocks, and removes the hard-coded SQ. As a
matter of fact, SQ is non-privileged so the user even shouldn't use SQ
counters to register/release trace. This patch also ignores
non-privileged blocks as what HSA Thunk spec describes.

This patch also records counters information in trace structure so
AcquireTrace can get counters information using that TraceId.

Change-Id: Ifa5741050553d4615baab01f7485a9e09435b019
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-02-21 15:32:18 -05:00
Amber Lin 3bafcdb328 Support multiple blocks in RegisterTrace
Existing code assumes all counters sent to hsaKmtPmcRegisterTrace belong
to one PMC block and this block is SQ. This patch considers cases when
counters are in different blocks, and removes the hard-coded SQ. As a
matter of fact, SQ is non-privileged so the user even shouldn't use SQ
counters to register/release trace. This patch also ignores
non-privileged blocks as what HSA Thunk spec describes.

This patch also records counters information in trace structure so
AcquireTrace can get counters information using that TraceId.

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


[ROCm/ROCR-Runtime commit: cb60c5f18a]
2017-02-21 15:32:18 -05:00
James Edwards 470750cc3c Update readme regarding CMAKE_PREFIX_PATH.
Change-Id: I322789f38b1984b2527554c10cb0f3be886d3e91
2017-02-20 14:33:53 -06:00
James Edwards ccbb47d79d Update readme regarding CMAKE_PREFIX_PATH.
Change-Id: I322789f38b1984b2527554c10cb0f3be886d3e91


[ROCm/ROCR-Runtime commit: 470750cc3c]
2017-02-20 14:33:53 -06:00
Evgeny Mankov 241bd38256 [HIP] annotation update.
cudaStreamAddCallback and cudaStreamWaitEvent were excluded from unsupported.


[ROCm/clr commit: 839927a94a]
2017-02-20 21:26:40 +03:00
Evgeny Mankov 839927a94a [HIP] annotation update.
cudaStreamAddCallback and cudaStreamWaitEvent were excluded from unsupported.
2017-02-20 21:26:40 +03:00
Evgeny Mankov ed1915ad97 [HIP] annotation update.
cudaStreamAddCallback and cudaStreamWaitEvent were excluded from unsupported.


[ROCm/hip commit: 2461ddd79d]
2017-02-20 21:26:40 +03:00
Evgeny Mankov 2461ddd79d [HIP] annotation update.
cudaStreamAddCallback and cudaStreamWaitEvent were excluded from unsupported.
2017-02-20 21:26:40 +03:00
Evgeny Mankov 8a25b2e284 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
cudaDeviceGetPCIBusId -> hipDeviceGetPCIBusId


[ROCm/clr commit: 45f6b10459]
2017-02-20 21:21:47 +03:00
Evgeny Mankov 45f6b10459 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
cudaDeviceGetPCIBusId -> hipDeviceGetPCIBusId
2017-02-20 21:21:47 +03:00
Evgeny Mankov cfb607a21d [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
cudaDeviceGetPCIBusId -> hipDeviceGetPCIBusId


[ROCm/hip commit: bd9b674d3d]
2017-02-20 21:21:47 +03:00
Evgeny Mankov bd9b674d3d [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
cudaDeviceGetPCIBusId -> hipDeviceGetPCIBusId
2017-02-20 21:21:47 +03:00
Evgeny Mankov 2d9ccb42e0 [HIPIFY] sync with HIP by HIP_UNSUPPORTED Runtime functions.
[ROCm/clr commit: eae27590d7]
2017-02-20 21:19:34 +03:00
Evgeny Mankov eae27590d7 [HIPIFY] sync with HIP by HIP_UNSUPPORTED Runtime functions. 2017-02-20 21:19:34 +03:00
Evgeny Mankov d52c918b47 [HIPIFY] sync with HIP by HIP_UNSUPPORTED Runtime functions.
[ROCm/hip commit: 6e611aa574]
2017-02-20 21:19:34 +03:00
Evgeny Mankov 6e611aa574 [HIPIFY] sync with HIP by HIP_UNSUPPORTED Runtime functions. 2017-02-20 21:19:34 +03:00
Evgeny Mankov 45846037b1 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.

+ 44 supported data types are added
- 46 at least to support

All the supported data types are also supported by hipify-clang (synced).


[ROCm/clr commit: 2fb5ef1545]
2017-02-20 18:32:54 +03:00
Evgeny Mankov 2fb5ef1545 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.

+ 44 supported data types are added
- 46 at least to support

All the supported data types are also supported by hipify-clang (synced).
2017-02-20 18:32:54 +03:00
Evgeny Mankov 240b46d3b0 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.

+ 44 supported data types are added
- 46 at least to support

All the supported data types are also supported by hipify-clang (synced).


[ROCm/hip commit: 5c11789358]
2017-02-20 18:32:54 +03:00
Evgeny Mankov 5c11789358 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.

+ 44 supported data types are added
- 46 at least to support

All the supported data types are also supported by hipify-clang (synced).
2017-02-20 18:32:54 +03:00
Evgeny Mankov d85bc25d6e [HIPIFY] Sync HIPIFY with HIP by data types.
[ROCm/clr commit: d6c01aabab]
2017-02-20 18:28:59 +03:00