Commit Graph

68470 Commits

Author SHA1 Message Date
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
foreman 06de25ef81 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
2016-04-11 18:23:12 -04:00
James Edwards (xN/A) TX 871412adff Remove ENV variables from CMakeLists.txt files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256687]
2016-04-11 17:18:01 -05:00
James Edwards (xN/A) TX f716a9ae63 Remove ENV variables from CMakeLists.txt files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256687]


[ROCm/ROCR-Runtime commit: 871412adff]
2016-04-11 17:18:01 -05:00
Hari Thangirala a148fd0b68 ROCR Build ID support
Build system/Package maintainer:
-    BUILDID is specified at cmake.
-    USAGE: cmake -DBUILDID=<ID> ../src

For developer builds the who typically don?t provide BUILDID, cmake will:
-    Determine the last git commit when this tree was syncd 
-    Deteremine the build date 
-    Check if tree is clean when built 

The idea of this embedded string is that later when you get a ROCR build, you can get some idea on the build origination by using: strings libhsa-runtime.so.1 | grep ?ROCR BUILD ID?

For eg:
-    If it?s a Jenkins build 25, it returns: ?ROCR  BUILD ID: 25?
-    If it?s a developer build sync'd @ 06f5f2a with modifications, it returns: ?ROCR BUILD ID: 06f5f2a-2016-04-11-0"

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256588]
2016-04-11 15:03:06 -05:00
Hari Thangirala 6a4a5f7c71 ROCR Build ID support
Build system/Package maintainer:
-    BUILDID is specified at cmake.
-    USAGE: cmake -DBUILDID=<ID> ../src

For developer builds the who typically don�t provide BUILDID, cmake will:
-    Determine the last git commit when this tree was syncd 
-    Deteremine the build date 
-    Check if tree is clean when built 

The idea of this embedded string is that later when you get a ROCR build, you can get some idea on the build origination by using: strings libhsa-runtime.so.1 | grep �ROCR BUILD ID�

For eg:
-    If it�s a Jenkins build 25, it returns: �ROCR  BUILD ID: 25�
-    If it�s a developer build sync'd @ 06f5f2a with modifications, it returns: �ROCR BUILD ID: 06f5f2a-2016-04-11-0"

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


[ROCm/ROCR-Runtime commit: a148fd0b68]
2016-04-11 15:03:06 -05:00
Aditya Atluri 03eff9ee90 changed c/hip xcompiling source
[ROCm/clr commit: 9f7fb0370c]
2016-04-11 13:26:09 -05:00
Aditya Atluri 9f7fb0370c changed c/hip xcompiling source 2016-04-11 13:26:09 -05:00
Aditya Atluri 1ede540713 changed c/hip xcompiling source
[ROCm/hip commit: f85ed17fde]
2016-04-11 13:26:09 -05:00
Aditya Atluri f85ed17fde changed c/hip xcompiling source 2016-04-11 13:26:09 -05:00
Aditya Atluri 30e883a40d added back hc flag
[ROCm/clr commit: 5b38c9cffe]
2016-04-11 13:04:13 -05:00
Aditya Atluri 5b38c9cffe added back hc flag 2016-04-11 13:04:13 -05:00
Aditya Atluri 40d74c820a added back hc flag
[ROCm/hip commit: 9e7ee4062b]
2016-04-11 13:04:13 -05:00
Aditya Atluri 9e7ee4062b added back hc flag 2016-04-11 13:04:13 -05:00
Aditya Atluri f381fbb2be added C guard to hip_runtime.h
[ROCm/clr commit: 42df534354]
2016-04-11 13:01:02 -05:00
Aditya Atluri 42df534354 added C guard to hip_runtime.h 2016-04-11 13:01:02 -05:00
Aditya Atluri 817cda91ff added C guard to hip_runtime.h
[ROCm/hip commit: d5feabfa1c]
2016-04-11 13:01:02 -05:00
Aditya Atluri d5feabfa1c added C guard to hip_runtime.h 2016-04-11 13:01:02 -05:00
Aditya Atluri ce36458495 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 0b47a41b6a]
2016-04-11 10:28:30 -05:00
Aditya Atluri 0b47a41b6a Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-04-11 10:28:30 -05:00
Aditya Atluri 953af3c48c Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: ce6383f549]
2016-04-11 10:28:30 -05:00
Aditya Atluri ce6383f549 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-04-11 10:28:30 -05:00
Aditya Atluri 302c21d2af added hipHostRegister support no multi-gpu
[ROCm/clr commit: 883954fce2]
2016-04-11 10:28:16 -05:00
Aditya Atluri 883954fce2 added hipHostRegister support no multi-gpu 2016-04-11 10:28:16 -05:00
Aditya Atluri ed3013cb6e added hipHostRegister support no multi-gpu
[ROCm/hip commit: 07d570468e]
2016-04-11 10:28:16 -05:00
Aditya Atluri 07d570468e added hipHostRegister support no multi-gpu 2016-04-11 10:28:16 -05:00
Felix Kuehling 82b3fad320 Fix 4GB and larger system memory allocations
Intermediate size was stored in a 32-bit variable. This resulted in
4GB allocations to fail in KFD due to 0 size. Larger allocations
would allocate the wrong amount of memory.

Change-Id: If19dedf64952f1d2edd813793241e12c0362d220
2016-04-11 11:17:06 -04:00
Felix Kuehling f0af6eceed Fix 4GB and larger system memory allocations
Intermediate size was stored in a 32-bit variable. This resulted in
4GB allocations to fail in KFD due to 0 size. Larger allocations
would allocate the wrong amount of memory.

Change-Id: If19dedf64952f1d2edd813793241e12c0362d220


[ROCm/ROCR-Runtime commit: 82b3fad320]
2016-04-11 11:17:06 -04:00
Ben Sander bae8915a67 Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
Conflicts:
	RELEASE.md
	include/hcc_detail/hip_hcc.h
	samples/1_Utils/hipInfo/hipInfo.cpp
	src/hip_hcc.cpp
	src/hip_peer.cpp


[ROCm/hip-tests commit: 9a62578143]
2016-04-11 09:17:27 -05:00
Ben Sander 3450b9daf0 P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.


[ROCm/hip-tests commit: b42167f80c]
2016-04-11 12:52:18 -05:00
Ben Sander 9a62578143 Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
Conflicts:
	RELEASE.md
	include/hcc_detail/hip_hcc.h
	samples/1_Utils/hipInfo/hipInfo.cpp
	src/hip_hcc.cpp
	src/hip_peer.cpp
2016-04-11 09:17:27 -05:00
Ben Sander b42167f80c P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.
2016-04-11 12:52:18 -05:00
Ben Sander d3356ba99f Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
Conflicts:
	RELEASE.md
	include/hcc_detail/hip_hcc.h
	samples/1_Utils/hipInfo/hipInfo.cpp
	src/hip_hcc.cpp
	src/hip_peer.cpp


[ROCm/clr commit: 1cc0ea86a1]
2016-04-11 09:17:27 -05:00
Ben Sander 0861e7a635 add simple negative P2P tests
[ROCm/clr commit: 2f0c589ffe]
2016-04-11 13:46:53 -05:00
Ben Sander 9bf70214f3 P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.


[ROCm/clr commit: 5af4c901c6]
2016-04-11 12:52:18 -05:00
Ben Sander 1cc0ea86a1 Merge branch 'p2p' of https://github.com/AMDComputeLibraries/HIP-privatestaging into p2p
Conflicts:
	RELEASE.md
	include/hcc_detail/hip_hcc.h
	samples/1_Utils/hipInfo/hipInfo.cpp
	src/hip_hcc.cpp
	src/hip_peer.cpp
2016-04-11 09:17:27 -05:00
Ben Sander 2f0c589ffe add simple negative P2P tests 2016-04-11 13:46:53 -05:00
Ben Sander 5af4c901c6 P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.
2016-04-11 12:52:18 -05:00