Graf commitů
64512 Commity
Autor SHA1 Zpráva Datum
Ben Sander ba0215ad9f Set default HIP_SYNC_NULL_STREAM=1.
[ROCm/hip commit: 626b5191e8]
2017-06-30 19:01:14 -05:00
Ben Sander 626b5191e8 Set default HIP_SYNC_NULL_STREAM=1. 2017-06-30 19:01:14 -05:00
Harish Kasiviswanathan dc6ece67fd Fix fd leak if application forks
If the application forks, close the fd inherited from the parent.

Change-Id: I48e4157d5f0d6f04d07ecb23b719a23934687cdb
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2017-06-30 15:59:41 -04:00
Harish Kasiviswanathan 45a97666b7 Fix fd leak if application forks
If the application forks, close the fd inherited from the parent.

Change-Id: I48e4157d5f0d6f04d07ecb23b719a23934687cdb
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: dc6ece67fd]
2017-06-30 15:59:41 -04:00
Ben Sander 35f05c0a3a Refactor hip_hcc.
Don't require setting __HIP_PLATFORM_HCC__ ; Instead check if compiler is HCC.
The functions here use HCC-specific functionality so only work with HCC.
ANd they work regardless of the __HIP_PLATFORM_HCC__ setting so don't
require that.

Also remove the "hcc_detail" extra hierarchy level for hip_hcc.h as
it is not necessary.  Remove hcc_detail/hip_hcc.h.


[ROCm/clr commit: 5e5b017b0d]
2017-06-30 08:26:15 -05:00
Ben Sander 5e5b017b0d Refactor hip_hcc.
Don't require setting __HIP_PLATFORM_HCC__ ; Instead check if compiler is HCC.
The functions here use HCC-specific functionality so only work with HCC.
ANd they work regardless of the __HIP_PLATFORM_HCC__ setting so don't
require that.

Also remove the "hcc_detail" extra hierarchy level for hip_hcc.h as
it is not necessary.  Remove hcc_detail/hip_hcc.h.
2017-06-30 08:26:15 -05:00
Ben Sander 15527645f1 Refactor hip_hcc.
Don't require setting __HIP_PLATFORM_HCC__ ; Instead check if compiler is HCC.
The functions here use HCC-specific functionality so only work with HCC.
ANd they work regardless of the __HIP_PLATFORM_HCC__ setting so don't
require that.

Also remove the "hcc_detail" extra hierarchy level for hip_hcc.h as
it is not necessary.  Remove hcc_detail/hip_hcc.h.


[ROCm/hip commit: 9c229f7530]
2017-06-30 08:26:15 -05:00
Ben Sander 9c229f7530 Refactor hip_hcc.
Don't require setting __HIP_PLATFORM_HCC__ ; Instead check if compiler is HCC.
The functions here use HCC-specific functionality so only work with HCC.
ANd they work regardless of the __HIP_PLATFORM_HCC__ setting so don't
require that.

Also remove the "hcc_detail" extra hierarchy level for hip_hcc.h as
it is not necessary.  Remove hcc_detail/hip_hcc.h.
2017-06-30 08:26:15 -05:00
foreman 37c44e8476 P4 to Git Change 1428623 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2448 to 2449.

Affected files ...

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


[ROCm/clr commit: c946bd840b]
2017-06-30 03:14:49 -04:00
foreman c946bd840b P4 to Git Change 1428623 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2448 to 2449.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2196 edit
2017-06-30 03:14:49 -04:00
Rahul Garg 1be7dc7cc2 Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b


[ROCm/clr commit: 467a2ba014]
2017-06-30 10:11:41 +05:30
Rahul Garg 467a2ba014 Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
2017-06-30 10:11:41 +05:30
Rahul Garg 83f3ed16de Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b


[ROCm/hip commit: 65cb024b61]
2017-06-30 10:11:41 +05:30
Rahul Garg 65cb024b61 Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
2017-06-30 10:11:41 +05:30
Maneesh Gupta 1ded0b85f5 Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8


[ROCm/hip-tests commit: 465bc42a12]
2017-06-30 09:59:30 +05:30
Maneesh Gupta 465bc42a12 Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8
2017-06-30 09:59:30 +05:30
Maneesh Gupta 575dcb6c1e Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8


[ROCm/clr commit: c279daab38]
2017-06-30 09:59:30 +05:30
Maneesh Gupta c279daab38 Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8
2017-06-30 09:59:30 +05:30
Maneesh Gupta 078b166ed9 Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8


[ROCm/hip commit: 9f4ea9255c]
2017-06-30 09:59:30 +05:30
Maneesh Gupta 9f4ea9255c Merge branch 'roc-1.6.x' into master
Change-Id: I367a3940a0a9e5658abc28a7dc2bfb9cf4167dc8
2017-06-30 09:59:30 +05:30
foreman bbaf2df99b P4 to Git Change 1428488 by gandryey@gera-w8 on 2017/06/29 17:50:55
SWDEV-111196 - clGetKernelInfoAMD failures for OpenCL-on-ROCm
	- Report available SGPR/VGPR

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#24 edit


[ROCm/clr commit: 2714cdc1b6]
2017-06-29 18:39:44 -04:00
foreman 2714cdc1b6 P4 to Git Change 1428488 by gandryey@gera-w8 on 2017/06/29 17:50:55
SWDEV-111196 - clGetKernelInfoAMD failures for OpenCL-on-ROCm
	- Report available SGPR/VGPR

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#24 edit
2017-06-29 18:39:44 -04:00
foreman 481bde3677 P4 to Git Change 1428440 by gandryey@gera-w8 on 2017/06/29 16:41:20
SWDEV-124720 - Observed "Memory access fault by GPU node-1" while running few of OpenCL - ISV apps
	- Change to use system scope on acquire fence for dispatch  packet

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#41 edit


[ROCm/clr commit: 796b6db8f7]
2017-06-29 16:55:15 -04:00
foreman 796b6db8f7 P4 to Git Change 1428440 by gandryey@gera-w8 on 2017/06/29 16:41:20
SWDEV-124720 - Observed "Memory access fault by GPU node-1" while running few of OpenCL - ISV apps
	- Change to use system scope on acquire fence for dispatch  packet

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#41 edit
2017-06-29 16:55:15 -04:00
Aditya Atluri 7a20b9afe1 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77


[ROCm/hip-tests commit: 98905a7272]
2017-06-29 12:01:40 -05:00
Aditya Atluri 98905a7272 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77
2017-06-29 12:01:40 -05:00
Aditya Atluri bd427d5b47 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77


[ROCm/clr commit: 0fe0381608]
2017-06-29 12:01:40 -05:00
Aditya Atluri 0fe0381608 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77
2017-06-29 12:01:40 -05:00
Aditya Atluri f7bfec2252 automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77


[ROCm/hip commit: 3e610ab0fe]
2017-06-29 12:01:40 -05:00
Aditya Atluri 3e610ab0fe automate gcnarch detection
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77
2017-06-29 12:01:40 -05:00
foreman 3a4ae35e42 P4 to Git Change 1428135 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2447 to 2448.

Affected files ...

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


[ROCm/clr commit: 8035289a92]
2017-06-29 03:11:16 -04:00
foreman 8035289a92 P4 to Git Change 1428135 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2447 to 2448.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2195 edit
2017-06-29 03:11:16 -04:00
Harish Kasiviswanathan 4d0697bf65 Honor ReadOnly bit in HsaMemFlags
Change-Id: I456cde81384bf0f4bf055711d94b731179706d28
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2017-06-28 15:02:21 -04:00
Harish Kasiviswanathan 7a12251015 Honor ReadOnly bit in HsaMemFlags
Change-Id: I456cde81384bf0f4bf055711d94b731179706d28
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 4d0697bf65]
2017-06-28 15:02:21 -04:00
Rahul Garg 8c9545ad7c Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3


[ROCm/clr commit: 38d48b5cf0]
2017-06-29 00:13:02 +05:30
Rahul Garg 38d48b5cf0 Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3
2017-06-29 00:13:02 +05:30
Rahul Garg 9e55cdfa90 Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3


[ROCm/hip commit: d6db525f51]
2017-06-29 00:13:02 +05:30
Rahul Garg d6db525f51 Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3
2017-06-29 00:13:02 +05:30
Rahul Garg 1ff995a92a Fixed hipDeviceGetPCIBusId for HIP/HCC
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21


[ROCm/clr commit: a7c727f352]
2017-06-28 23:48:27 +05:30
Rahul Garg a7c727f352 Fixed hipDeviceGetPCIBusId for HIP/HCC
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21
2017-06-28 23:48:27 +05:30
Rahul Garg ff48608355 Fixed hipDeviceGetPCIBusId for HIP/HCC
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21


[ROCm/hip commit: f4ea3b76c8]
2017-06-28 23:48:27 +05:30
Rahul Garg f4ea3b76c8 Fixed hipDeviceGetPCIBusId for HIP/HCC
Change-Id: I3688fa2476e1baada2d3c5fc3735cec3f15a1e21
2017-06-28 23:48:27 +05:30
foreman 5f2acafb93 P4 to Git Change 1427832 by lmoriche@lmoriche_opencl_dev2 on 2017/06/28 14:09:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove .gitignore

Affected files ...

... //depot/stg/opencl/drivers/opencl/.gitignore#2 delete


[ROCm/clr commit: c694dd53dd]
2017-06-28 14:14:50 -04:00
foreman c694dd53dd P4 to Git Change 1427832 by lmoriche@lmoriche_opencl_dev2 on 2017/06/28 14:09:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove .gitignore

Affected files ...

... //depot/stg/opencl/drivers/opencl/.gitignore#2 delete
2017-06-28 14:14:50 -04:00
foreman 2e120033f9 P4 to Git Change 1427832 by lmoriche@lmoriche_opencl_dev2 on 2017/06/28 14:09:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove .gitignore

Affected files ...

... //depot/stg/opencl/drivers/opencl/.gitignore#2 delete


[ROCm/clr commit: 88695d2e74]
2017-06-28 14:14:50 -04:00
foreman 88695d2e74 P4 to Git Change 1427832 by lmoriche@lmoriche_opencl_dev2 on 2017/06/28 14:09:09
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove .gitignore

Affected files ...

... //depot/stg/opencl/drivers/opencl/.gitignore#2 delete
2017-06-28 14:14:50 -04:00
Amber Lin 897c4e2fff Replace printf/fprintf with pr_xxx
Libraries normally don't print messages. We use pr_err, pr_warn,
pr_info, and pr_debug to print messages to stderr when prints are
enabled for debugging.

Change-Id: I9caf719343aa618c88e7b500f9737a46702e424a
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-06-28 10:47:35 -04:00
Amber Lin 75c3086af9 Replace printf/fprintf with pr_xxx
Libraries normally don't print messages. We use pr_err, pr_warn,
pr_info, and pr_debug to print messages to stderr when prints are
enabled for debugging.

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


[ROCm/ROCR-Runtime commit: 897c4e2fff]
2017-06-28 10:47:35 -04:00
foreman 65ba5c1fd2 P4 to Git Change 1427560 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/28 03:16:12
SWDEV-2 - Change OpenCL version number from 2446 to 2447.

Affected files ...

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


[ROCm/clr commit: 24bdb5a904]
2017-06-28 03:42:47 -04:00
foreman 24bdb5a904 P4 to Git Change 1427560 by johtaylo@johtaylo-jtincrementor-increment on 2017/06/28 03:16:12
SWDEV-2 - Change OpenCL version number from 2446 to 2447.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2194 edit
2017-06-28 03:42:47 -04:00