76333 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander 3c172aabe7 Merge pull request #166 from gargrahul/input_ptr_null_check
Null check on input pointer arguments
2017-08-29 13:55:38 -05:00
foreman 8fe66c7ee2 P4 to Git Change 1452726 by asalmanp@asalmanp-ocl-stg on 2017/08/29 11:55:13
SWDEV-79278 - adding missing Vega12 IDs
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13357/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#44 edit


[ROCm/clr commit: 037a4a70cc]
2017-08-29 12:04:09 -04:00
foreman 037a4a70cc P4 to Git Change 1452726 by asalmanp@asalmanp-ocl-stg on 2017/08/29 11:55:13
SWDEV-79278 - adding missing Vega12 IDs
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13357/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#44 edit
2017-08-29 12:04:09 -04:00
Ben Sander 72dcf7d488 Merge pull request #164 from mangupta/add_install_script
Add a basic build+install script

[ROCm/clr commit: f39d7929e9]
2017-08-29 11:01:14 -05:00
Ben Sander f39d7929e9 Merge pull request #164 from mangupta/add_install_script
Add a basic build+install script
2017-08-29 11:01:14 -05:00
Ben Sander 29d4fae62a Merge pull request #164 from mangupta/add_install_script
Add a basic build+install script

[ROCm/hip commit: e069b26e29]
2017-08-29 11:01:14 -05:00
Ben Sander e069b26e29 Merge pull request #164 from mangupta/add_install_script
Add a basic build+install script
2017-08-29 11:01:14 -05:00
Amber Lin a81b29890c Fix mmap when the count reaches the max
Applications may try to allocate lots host memory and reaches the mmap
limit (/proc/sys/vm/max_map_count). When Applications fails to allocate
memory and calls hsaKmtFreeMemory to release the memory, Thunk fails to
reduce the maps count so the following hsaKmtAllocMemory calls continue
to fail, which doesn't make sense to the application. This patch checks
the mmap to NORESERVE return value. If it fails and the error number is
ENOMEM, reduce the map count by munmap and map it again immediately.



Change-Id: I127cb479dfd86b199172eef269d59426f23859ea
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-08-29 11:47:29 -04:00
Amber Lin 13282b9115 Fix mmap when the count reaches the max
Applications may try to allocate lots host memory and reaches the mmap
limit (/proc/sys/vm/max_map_count). When Applications fails to allocate
memory and calls hsaKmtFreeMemory to release the memory, Thunk fails to
reduce the maps count so the following hsaKmtAllocMemory calls continue
to fail, which doesn't make sense to the application. This patch checks
the mmap to NORESERVE return value. If it fails and the error number is
ENOMEM, reduce the map count by munmap and map it again immediately.



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


[ROCm/ROCR-Runtime commit: a81b29890c]
2017-08-29 11:47:29 -04:00
Jenkins d9a316bee9 Merge 'master' into 'amd-master'
Change-Id: I4ae1f3ea1158d8fc499f7473065b0cb243dda0d0


[ROCm/clr commit: f77f5997d8]
2017-08-29 04:11:15 -05:00
Jenkins f77f5997d8 Merge 'master' into 'amd-master'
Change-Id: I4ae1f3ea1158d8fc499f7473065b0cb243dda0d0
2017-08-29 04:11:15 -05:00
Jenkins 23e94cc6bd Merge 'master' into 'amd-master'
Change-Id: I4ae1f3ea1158d8fc499f7473065b0cb243dda0d0


[ROCm/hip commit: 2687611fb1]
2017-08-29 04:11:15 -05:00
Jenkins 2687611fb1 Merge 'master' into 'amd-master'
Change-Id: I4ae1f3ea1158d8fc499f7473065b0cb243dda0d0
2017-08-29 04:11:15 -05:00
foreman 327eb8ca2e P4 to Git Change 1452576 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2486 to 2487.

Affected files ...

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


[ROCm/clr commit: 4d445db266]
2017-08-29 03:18:36 -04:00
foreman 4d445db266 P4 to Git Change 1452576 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2486 to 2487.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2234 edit
2017-08-29 03:18:36 -04:00
Maneesh Gupta 73ab902694 Merge pull request #168 from kknox/update-nvidia-volume
Update the nvidia volume driver version

[ROCm/clr commit: d152ebe161]
2017-08-29 09:37:39 +05:30
Maneesh Gupta d152ebe161 Merge pull request #168 from kknox/update-nvidia-volume
Update the nvidia volume driver version
2017-08-29 09:37:39 +05:30
Maneesh Gupta 437549deb3 Merge pull request #168 from kknox/update-nvidia-volume
Update the nvidia volume driver version

[ROCm/hip commit: a5b1aab349]
2017-08-29 09:37:39 +05:30
Maneesh Gupta a5b1aab349 Merge pull request #168 from kknox/update-nvidia-volume
Update the nvidia volume driver version
2017-08-29 09:37:39 +05:30
foreman 7b1fdee2c5 P4 to Git Change 1452486 by skudchad@skudchad_test_win_opencl2 on 2017/08/28 20:01:08
SWDEV-116136 - Support -Og for Clang
	- Fix assert for -cl-disable-opt

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#44 edit


[ROCm/clr commit: c6a3aed5f8]
2017-08-28 20:15:30 -04:00
foreman c6a3aed5f8 P4 to Git Change 1452486 by skudchad@skudchad_test_win_opencl2 on 2017/08/28 20:01:08
SWDEV-116136 - Support -Og for Clang
	- Fix assert for -cl-disable-opt

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#44 edit
2017-08-28 20:15:30 -04:00
Ben Sander a1cdc40b86 Merge pull request #169 from bensander/doc_update
Update docs.

[ROCm/clr commit: f275d267f6]
2017-08-28 18:47:47 -05:00
Ben Sander f275d267f6 Merge pull request #169 from bensander/doc_update
Update docs.
2017-08-28 18:47:47 -05:00
Ben Sander 60f36ed175 Merge pull request #169 from bensander/doc_update
Update docs.

[ROCm/hip commit: b87ed391df]
2017-08-28 18:47:47 -05:00
Ben Sander b87ed391df Merge pull request #169 from bensander/doc_update
Update docs.
2017-08-28 18:47:47 -05:00
Ben Sander 070bdb3736 Lock streams when waiting on event completion or querying event safety.
[ROCm/clr commit: bc9ba7cd81]
2017-08-28 18:40:16 -05:00
Ben Sander bc9ba7cd81 Lock streams when waiting on event completion or querying event safety. 2017-08-28 18:40:16 -05:00
Ben Sander bd434502db Lock streams when waiting on event completion or querying event safety.
[ROCm/hip commit: 6ff74d0e97]
2017-08-28 18:40:16 -05:00
Ben Sander 6ff74d0e97 Lock streams when waiting on event completion or querying event safety. 2017-08-28 18:40:16 -05:00
Ben Sander ef278f9709 Merge pull request #165 from gargrahul/enable_strmsync_rcrdevnt_dtests
Enable hipStreamSync2 and record_event dtests

[ROCm/clr commit: e2a25fcab4]
2017-08-28 15:51:35 -05:00
Ben Sander e2a25fcab4 Merge pull request #165 from gargrahul/enable_strmsync_rcrdevnt_dtests
Enable hipStreamSync2 and record_event dtests
2017-08-28 15:51:35 -05:00
Ben Sander 0f0414a5ba Merge pull request #165 from gargrahul/enable_strmsync_rcrdevnt_dtests
Enable hipStreamSync2 and record_event dtests

[ROCm/hip commit: 3ffe5c9189]
2017-08-28 15:51:35 -05:00
Ben Sander 3ffe5c9189 Merge pull request #165 from gargrahul/enable_strmsync_rcrdevnt_dtests
Enable hipStreamSync2 and record_event dtests
2017-08-28 15:51:35 -05:00
Ben Sander dcd8961a9d Update docs.
- Review unsupported comments and refresh.
- Review experimental tag in API.


[ROCm/clr commit: a6d1778fff]
2017-08-28 15:44:38 -05:00
Ben Sander a6d1778fff Update docs.
- Review unsupported comments and refresh.
- Review experimental tag in API.
2017-08-28 15:44:38 -05:00
Ben Sander a497059d78 Update docs.
- Review unsupported comments and refresh.
- Review experimental tag in API.


[ROCm/hip commit: 1a9e588932]
2017-08-28 15:44:38 -05:00
Ben Sander 1a9e588932 Update docs.
- Review unsupported comments and refresh.
- Review experimental tag in API.
2017-08-28 15:44:38 -05:00
Felix Kuehling 52598cf37e Generalize size-dependent virtual address alignment
Support all fragment sizes up to 2MB by aligning buffers according
to their size.

Change-Id: I82b7ef8be6f1507d941e5c97edb6618adf8c66de
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2017-08-28 15:01:33 -04:00
Felix Kuehling 7e59d7d5de Generalize size-dependent virtual address alignment
Support all fragment sizes up to 2MB by aligning buffers according
to their size.

Change-Id: I82b7ef8be6f1507d941e5c97edb6618adf8c66de
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 52598cf37e]
2017-08-28 15:01:33 -04:00
Kent Knox 8faf89e5b7 Update the nvidia volume driver version
Move deleting docker images into the try clause, don't treat failure to delete images
as a build failure


[ROCm/clr commit: ff2a957ee2]
2017-08-28 13:58:18 -05:00
Kent Knox ff2a957ee2 Update the nvidia volume driver version
Move deleting docker images into the try clause, don't treat failure to delete images
as a build failure
2017-08-28 13:58:18 -05:00
Kent Knox 8c23735332 Update the nvidia volume driver version
Move deleting docker images into the try clause, don't treat failure to delete images
as a build failure


[ROCm/hip commit: d50fb898bf]
2017-08-28 13:58:18 -05:00
Kent Knox d50fb898bf Update the nvidia volume driver version
Move deleting docker images into the try clause, don't treat failure to delete images
as a build failure
2017-08-28 13:58:18 -05:00
Ramesh Errabolu 3980b4268b Add Iommu Perf Cntrs
Change-Id: I1cf3f00a959a923462634a62263707a267ae18af
2017-08-28 12:57:11 -05:00
Ramesh Errabolu 39f0c3e821 Add Iommu Perf Cntrs
Change-Id: I1cf3f00a959a923462634a62263707a267ae18af


[ROCm/ROCR-Runtime commit: 3980b4268b]
2017-08-28 12:57:11 -05:00
foreman 43542e3fb6 P4 to Git Change 1451983 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2485 to 2486.

Affected files ...

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


[ROCm/clr commit: 5903352ceb]
2017-08-26 03:22:10 -04:00
foreman 5903352ceb P4 to Git Change 1451983 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2485 to 2486.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2233 edit
2017-08-26 03:22:10 -04:00
foreman fa37a08a8c P4 to Git Change 1451977 by lmoriche@lmoriche_opencl_dev2 on 2017/08/26 00:40:17
SWDEV-116136 - Support -Og for Clang
	- Add missed changes mentioned in the code review.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#20 edit


[ROCm/clr commit: de1c5f6d0d]
2017-08-26 00:57:57 -04:00
foreman de1c5f6d0d P4 to Git Change 1451977 by lmoriche@lmoriche_opencl_dev2 on 2017/08/26 00:40:17
SWDEV-116136 - Support -Og for Clang
	- Add missed changes mentioned in the code review.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#20 edit
2017-08-26 00:57:57 -04:00
foreman f340618f4c P4 to Git Change 1451958 by skudchad@skudchad_test_win_opencl2 on 2017/08/25 19:27:11
SWDEV-116136 - Support -Og for Clang

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/linker.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/opt_level.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/optimizer.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/hsail_be.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scState.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/OPTIONS.def#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#157 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/optimizer.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#136 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#19 edit


[ROCm/clr commit: 2c0b212d96]
2017-08-25 19:39:53 -04:00