Commit Graph

64357 Commits

Author SHA1 Message Date
alex-t fb19b58840 Fixed incorrect kernel paramlist replacement length & hipGetDeviceProperties mapping 2016-04-14 13:48:58 +03:00
alex-t 0b16b6592b Fixed incorrect kernel paramlist replacement length & hipGetDeviceProperties mapping
[ROCm/hip commit: c84fdef9d3]
2016-04-14 13:48:58 +03:00
alex-t c84fdef9d3 Fixed incorrect kernel paramlist replacement length & hipGetDeviceProperties mapping 2016-04-14 13:48:58 +03:00
foreman e678831914 P4 to Git Change 1257871 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/14 03:00:37
SWDEV-2 - Change OpenCL version number from 2093 to 2094.

Affected files ...

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


[ROCm/clr commit: 650384ad2c]
2016-04-14 03:09:54 -04:00
foreman 650384ad2c P4 to Git Change 1257871 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/14 03:00:37
SWDEV-2 - Change OpenCL version number from 2093 to 2094.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1840 edit
2016-04-14 03:09:54 -04:00
Andres Rodriguez 44572965f6 package: rename to hsathk-rocm-dev
Since we include headers and not just a library anymore, we should be
considered a -dev package and not a lib package.

Change-Id: I220465ea4ffc8d66d8d76e6716e6c6c50cdacea1
2016-04-13 19:39:54 -04:00
Andres Rodriguez e8d96eac7a package: rename to hsathk-rocm-dev
Since we include headers and not just a library anymore, we should be
considered a -dev package and not a lib package.

Change-Id: I220465ea4ffc8d66d8d76e6716e6c6c50cdacea1


[ROCm/ROCR-Runtime commit: 44572965f6]
2016-04-13 19:39:54 -04:00
Ben Sander 5dda7686cb Fix HIP_PATH, CHECK macro in samples.
[ROCm/hip-tests commit: 40e3772d40]
2016-04-13 17:37:39 -05:00
Ben Sander 40e3772d40 Fix HIP_PATH, CHECK macro in samples. 2016-04-13 17:37:39 -05:00
Ben Sander 70c75c0eed Fix HIP_PATH, CHECK macro in samples.
[ROCm/clr commit: 830527bfdc]
2016-04-13 17:37:39 -05:00
Ben Sander 830527bfdc Fix HIP_PATH, CHECK macro in samples. 2016-04-13 17:37:39 -05:00
Ben Sander 05a43de72a Fix HIP_PATH, CHECK macro in samples.
[ROCm/hip commit: 8bbe32a708]
2016-04-13 17:37:39 -05:00
Ben Sander 8bbe32a708 Fix HIP_PATH, CHECK macro in samples. 2016-04-13 17:37:39 -05:00
Ben Sander a8ddf0d4c5 add hcc dialects sample
[ROCm/hip-tests commit: a296b93281]
2016-04-13 17:32:38 -05:00
Ben Sander a296b93281 add hcc dialects sample 2016-04-13 17:32:38 -05:00
Ben Sander b2237cb953 add hcc dialects sample
[ROCm/clr commit: 8736d77818]
2016-04-13 17:32:38 -05:00
Ben Sander 8736d77818 add hcc dialects sample 2016-04-13 17:32:38 -05:00
Ben Sander 0618c39648 add hcc dialects sample
[ROCm/hip commit: 624b2f35ff]
2016-04-13 17:32:38 -05:00
Ben Sander 624b2f35ff add hcc dialects sample 2016-04-13 17:32:38 -05:00
Besar Wicaksono (xN/A) TX [TEXT] 5a584fa1ab Fix query HSA_AMD_AGENT_MEMORY_POOL_INFO_LINK_INFO
Querying HSA_AMD_AGENT_MEMORY_POOL_INFO_LINK_INFO between a gpu agent
and its own local memory pool returns a wrong information.
Fix: return link with 0 hop count.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1257544]
2016-04-13 12:39:25 -05:00
Besar Wicaksono (xN/A) TX [TEXT] 4b44183941 Fix query HSA_AMD_AGENT_MEMORY_POOL_INFO_LINK_INFO
Querying HSA_AMD_AGENT_MEMORY_POOL_INFO_LINK_INFO between a gpu agent
and its own local memory pool returns a wrong information.
Fix: return link with 0 hop count.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1257544]


[ROCm/ROCR-Runtime commit: 5a584fa1ab]
2016-04-13 12:39:25 -05:00
foreman 2c62ce5544 P4 to Git Change 1257532 by gandryey@gera-ocl on 2016/04/13 13:18:22
SWDEV-92049 - Forum [2712399]: clEnqueueMapBuffer in parallel
	- Handle multiple unmapInfo structures of multiple simultaneous maps of the same buffer
	- The change didn't affect images path, since it requires extra handling

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#399 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#82 edit


[ROCm/clr commit: 8874f1f4d6]
2016-04-13 13:27:37 -04:00
foreman 8874f1f4d6 P4 to Git Change 1257532 by gandryey@gera-ocl on 2016/04/13 13:18:22
SWDEV-92049 - Forum [2712399]: clEnqueueMapBuffer in parallel
	- Handle multiple unmapInfo structures of multiple simultaneous maps of the same buffer
	- The change didn't affect images path, since it requires extra handling

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#399 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#82 edit
2016-04-13 13:27:37 -04:00
foreman e66cfa59f0 P4 to Git Change 1257532 by gandryey@gera-ocl on 2016/04/13 13:18:22
SWDEV-92049 - Forum [2712399]: clEnqueueMapBuffer in parallel
	- Handle multiple unmapInfo structures of multiple simultaneous maps of the same buffer
	- The change didn't affect images path, since it requires extra handling

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#399 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#82 edit


[ROCm/clr commit: b0631f7ab9]
2016-04-13 13:27:37 -04:00
foreman b0631f7ab9 P4 to Git Change 1257532 by gandryey@gera-ocl on 2016/04/13 13:18:22
SWDEV-92049 - Forum [2712399]: clEnqueueMapBuffer in parallel
	- Handle multiple unmapInfo structures of multiple simultaneous maps of the same buffer
	- The change didn't affect images path, since it requires extra handling

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#399 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#82 edit
2016-04-13 13:27:37 -04:00
foreman b97e74ef5d P4 to Git Change 1257342 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/13 03:00:12
SWDEV-2 - Change OpenCL version number from 2092 to 2093.

Affected files ...

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


[ROCm/clr commit: 91e212bebe]
2016-04-13 03:07:14 -04:00
foreman 91e212bebe P4 to Git Change 1257342 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/13 03:00:12
SWDEV-2 - Change OpenCL version number from 2092 to 2093.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1839 edit
2016-04-13 03:07:14 -04:00
Jack Chung 5499f15f62 Add missing USE_PEER_TO_PEER macro definition
[ROCm/clr commit: fe0e5f3541]
2016-04-13 13:56:26 +08:00
Jack Chung fe0e5f3541 Add missing USE_PEER_TO_PEER macro definition 2016-04-13 13:56:26 +08:00
Jack Chung 181b44df3f Add missing USE_PEER_TO_PEER macro definition
[ROCm/hip commit: 210ba67b84]
2016-04-13 13:56:26 +08:00
Jack Chung 210ba67b84 Add missing USE_PEER_TO_PEER macro definition 2016-04-13 13:56:26 +08:00
foreman 0b50180fcc P4 to Git Change 1257129 by weizhang@weizhang-lnx-opencl on 2016/04/12 15:33:15
SWDEV-78299 - Re-submit CL#1236441.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#545 edit


[ROCm/clr commit: 5ef411d5dd]
2016-04-12 15:46:44 -04:00
foreman 5ef411d5dd P4 to Git Change 1257129 by weizhang@weizhang-lnx-opencl on 2016/04/12 15:33:15
SWDEV-78299 - Re-submit CL#1236441.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#545 edit
2016-04-12 15:46:44 -04:00
Aditya Atluri aa048f2fe1 Removed pragma once
[ROCm/clr commit: 3b79b86a96]
2016-04-12 09:22:03 -05:00
Aditya Atluri 3b79b86a96 Removed pragma once 2016-04-12 09:22:03 -05:00
Aditya Atluri 10bc7e683f Removed pragma once
[ROCm/hip commit: 4dfe27e8b5]
2016-04-12 09:22:03 -05:00
Aditya Atluri 4dfe27e8b5 Removed pragma once 2016-04-12 09:22:03 -05:00
Maneesh Gupta 67dbfc650a Refactor and add support for nvcc path in cmake
[ROCm/clr commit: 332dc21fcb]
2016-04-12 12:42:12 +05:30
Maneesh Gupta 332dc21fcb Refactor and add support for nvcc path in cmake 2016-04-12 12:42:12 +05:30
Maneesh Gupta 7dbb93af4e Refactor and add support for nvcc path in cmake
[ROCm/hip commit: 119de66cd2]
2016-04-12 12:42:12 +05:30
Maneesh Gupta 119de66cd2 Refactor and add support for nvcc path in cmake 2016-04-12 12:42:12 +05:30
foreman 7a765435b0 P4 to Git Change 1256816 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/12 03:00:10
SWDEV-2 - Change OpenCL version number from 2091 to 2092.

Affected files ...

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


[ROCm/clr commit: 30e866a93e]
2016-04-12 03:11:45 -04:00
foreman 30e866a93e P4 to Git Change 1256816 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/12 03:00:10
SWDEV-2 - Change OpenCL version number from 2091 to 2092.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1838 edit
2016-04-12 03:11:45 -04:00
Hari Thangirala 0545761aa9 ROCR Build ID support
Fix dirty-tree status. Thanks to Fan for fixing the issue.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256716]
2016-04-11 18:48:29 -05:00
Hari Thangirala 56f5e65938 ROCR Build ID support
Fix dirty-tree status. Thanks to Fan for fixing the issue.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256716]


[ROCm/ROCR-Runtime commit: 0545761aa9]
2016-04-11 18:48:29 -05:00
Besar Wicaksono (xN/A) TX [TEXT] ea67bb8374 Sdma wraparound optimization.
Remove mutex and just make the thread spin again if the queue is wrapping.
Remove the wait for the queue to finish wrapping, and just check if there is enough space to recycle when reserving queue space.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256713]
2016-04-11 18:31:45 -05:00
Besar Wicaksono (xN/A) TX [TEXT] 02b6c65740 Sdma wraparound optimization.
Remove mutex and just make the thread spin again if the queue is wrapping.
Remove the wait for the queue to finish wrapping, and just check if there is enough space to recycle when reserving queue space.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256713]


[ROCm/ROCR-Runtime commit: ea67bb8374]
2016-04-11 18:31:45 -05:00
Andres Rodriguez 9f355b78a0 Adopt new ROCm packaging guidelines
All files should go into /opt/rocm/$component

For developer convenience, a single include directory is created through
symlinks, from the component include directory to /opt/rocm/include.

Similarly, a unified linked directory is present in /opt/rocm/lib

The component lib directory should not include linker names (library
names without version numbers).

This commit also fixes 'make rpm' running correctly without the need for
sourcing build/envsetup.sh

Change-Id: I95a680f6d3e3bd1ae688d0694934a0577dbd007c
2016-04-11 18:30:54 -04:00
Andres Rodriguez ade12f4ec1 Adopt new ROCm packaging guidelines
All files should go into /opt/rocm/$component

For developer convenience, a single include directory is created through
symlinks, from the component include directory to /opt/rocm/include.

Similarly, a unified linked directory is present in /opt/rocm/lib

The component lib directory should not include linker names (library
names without version numbers).

This commit also fixes 'make rpm' running correctly without the need for
sourcing build/envsetup.sh

Change-Id: I95a680f6d3e3bd1ae688d0694934a0577dbd007c


[ROCm/ROCR-Runtime commit: 9f355b78a0]
2016-04-11 18:30:54 -04:00
foreman bb3499cad6 P4 to Git Change 1256676 by gandryey@gera-w8 on 2016/04/11 17:55:39
SWDEV-86035 - Add PAL backend to OpenCL
	- Increment PAL interface version

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/Makefile#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#2 edit


[ROCm/clr commit: 06de25ef81]
2016-04-11 18:23:12 -04:00