Commit Graph

64357 Commits

Author SHA1 Message Date
foreman 269f599f85 P4 to Git Change 1246105 by cpaquot@hog-ocl on 2016/03/10 15:13:37
SWDEV-89711 - Adding EGL interop capability:
	- Remove Context::Info::type_ and only use flags_, it's more accurate and type_ was just redundant
	- Plumbing work for EGL at the top of the API layer.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.hpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#269 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#542 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#24 edit
2016-03-10 15:21:20 -05:00
Harish Kasiviswanathan 7042292c60 Add indirect io_links
Connect (Peer-to-Peer) GPUs that belong to same NUMA node.
Connect all [GPU] <--> [Non Parent NUMA] node

Change-Id: Ib4b08a6545d28b7dce4c9b1a90378bfc51bed07e
2016-03-10 15:11:17 -05:00
Harish Kasiviswanathan 6409b00f8f Add indirect io_links
Connect (Peer-to-Peer) GPUs that belong to same NUMA node.
Connect all [GPU] <--> [Non Parent NUMA] node

Change-Id: Ib4b08a6545d28b7dce4c9b1a90378bfc51bed07e


[ROCm/ROCR-Runtime commit: 7042292c60]
2016-03-10 15:11:17 -05:00
Harish Kasiviswanathan 1e729510d2 Allocate memory for indirect io_links
To simplify, allocate maximum needed memory for node_t->link array.
No need for realloc when indirect links are added. Trade off - for some
nodes more memory than required will be allocated.

This means the loop to compute the number of direct (reverse) io_links
for a CPU node is not necessary.

Change-Id: I2b2559142cbec3b262d0b4ea5fdebfd8f36c28fc
2016-03-10 15:10:48 -05:00
Harish Kasiviswanathan 35e6692134 Allocate memory for indirect io_links
To simplify, allocate maximum needed memory for node_t->link array.
No need for realloc when indirect links are added. Trade off - for some
nodes more memory than required will be allocated.

This means the loop to compute the number of direct (reverse) io_links
for a CPU node is not necessary.

Change-Id: I2b2559142cbec3b262d0b4ea5fdebfd8f36c28fc


[ROCm/ROCR-Runtime commit: 1e729510d2]
2016-03-10 15:10:48 -05:00
Felix Kuehling 61ec3df2f9 Add support for hsaKmtRegisterGraphicsHandleToNodes
Change-Id: I6fd7154dea78188480d5cb89ac237bad572356c4
2016-03-10 11:16:02 -05:00
Felix Kuehling 029002d073 Add support for hsaKmtRegisterGraphicsHandleToNodes
Change-Id: I6fd7154dea78188480d5cb89ac237bad572356c4


[ROCm/ROCR-Runtime commit: 61ec3df2f9]
2016-03-10 11:16:02 -05:00
foreman 6d635edb3b P4 to Git Change 1245787 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/10 03:00:13
SWDEV-2 - Change OpenCL version number from 2058 to 2059.

Affected files ...

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


[ROCm/clr commit: 3fe9bcaaff]
2016-03-10 03:08:48 -05:00
foreman 3fe9bcaaff P4 to Git Change 1245787 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/10 03:00:13
SWDEV-2 - Change OpenCL version number from 2058 to 2059.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1805 edit
2016-03-10 03:08:48 -05:00
Ben Goz b1393f8224 Support MapMemoryToGPUNodes on APU
Change-Id: Ie77a2eb23cd9fe6671ff9e0630977220218e55dd
Signed-off-by: Ben Goz <ben.goz@amd.com>
2016-03-09 21:31:52 -05:00
Ben Goz c32a504b59 Support MapMemoryToGPUNodes on APU
Change-Id: Ie77a2eb23cd9fe6671ff9e0630977220218e55dd
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: b1393f8224]
2016-03-09 21:31:52 -05:00
Felix Kuehling cb0315d31d Update kfd_ioctl.h from kernel
Change-Id: I9852ef2e33e1f3b24343747e3c1c09b0050ffdc1
2016-03-09 10:55:12 -05:00
Felix Kuehling e2d2d6bd32 Update kfd_ioctl.h from kernel
Change-Id: I9852ef2e33e1f3b24343747e3c1c09b0050ffdc1


[ROCm/ROCR-Runtime commit: cb0315d31d]
2016-03-09 10:55:12 -05:00
Felix Kuehling b837c3e7b0 Clean up GPUVM aperture management
Non-canonical GPUVM aperture doesn't exist on dGPUs. Remove comments
and code that say otherwise.

Fix alignment of GPUVM aperture for gfx801. Requires the same workaround
as gfx802. It's not used for anything on gfx801 yet, but will be soon.

Change-Id: I88607fe7b340081cc0715b85f28fdbf5f1bb0ad7
2016-03-09 10:55:12 -05:00
Felix Kuehling f171fef754 Clean up GPUVM aperture management
Non-canonical GPUVM aperture doesn't exist on dGPUs. Remove comments
and code that say otherwise.

Fix alignment of GPUVM aperture for gfx801. Requires the same workaround
as gfx802. It's not used for anything on gfx801 yet, but will be soon.

Change-Id: I88607fe7b340081cc0715b85f28fdbf5f1bb0ad7


[ROCm/ROCR-Runtime commit: b837c3e7b0]
2016-03-09 10:55:12 -05:00
dfukalov 38d5bd4111 fixed bug with -debug switch
[ROCm/clr commit: f0c01ebd57]
2016-03-09 18:37:20 +03:00
dfukalov f0c01ebd57 fixed bug with -debug switch 2016-03-09 18:37:20 +03:00
dfukalov 88fdff7e55 fixed bug with -debug switch
[ROCm/hip commit: d30f103882]
2016-03-09 18:37:20 +03:00
dfukalov d30f103882 fixed bug with -debug switch 2016-03-09 18:37:20 +03:00
foreman 6175541596 P4 to Git Change 1245390 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/09 03:00:12
SWDEV-2 - Change OpenCL version number from 2057 to 2058.

Affected files ...

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


[ROCm/clr commit: 0ed489ca5e]
2016-03-09 03:09:09 -05:00
foreman 0ed489ca5e P4 to Git Change 1245390 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/09 03:00:12
SWDEV-2 - Change OpenCL version number from 2057 to 2058.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1804 edit
2016-03-09 03:09:09 -05:00
foreman 8b95f29714 P4 to Git Change 1245012 by gandryey@gera-w8 on 2016/03/08 14:41:35
SWDEV-89511 - Enable F16 KHR extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#343 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#253 edit


[ROCm/clr commit: 08721493fa]
2016-03-08 14:51:18 -05:00
foreman 08721493fa P4 to Git Change 1245012 by gandryey@gera-w8 on 2016/03/08 14:41:35
SWDEV-89511 - Enable F16 KHR extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#268 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#343 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#253 edit
2016-03-08 14:51:18 -05:00
Aditya Atluri 6162990f44 Added hipHostRegister for hip with tests and added copyright
[ROCm/clr commit: 3127969d97]
2016-03-08 12:57:22 -06:00
Aditya Atluri 3127969d97 Added hipHostRegister for hip with tests and added copyright 2016-03-08 12:57:22 -06:00
Aditya Atluri db1ce3ba84 Added hipHostRegister for hip with tests and added copyright
[ROCm/hip commit: 102f173396]
2016-03-08 12:57:22 -06:00
Aditya Atluri 102f173396 Added hipHostRegister for hip with tests and added copyright 2016-03-08 12:57:22 -06:00
Aditya Atluri 0667928d29 Added a random test for memcpyAsync
[ROCm/clr commit: 4503ebcb21]
2016-03-08 03:40:56 -06:00
Aditya Atluri 4503ebcb21 Added a random test for memcpyAsync 2016-03-08 03:40:56 -06:00
Aditya Atluri 963c0f6076 Added a random test for memcpyAsync
[ROCm/hip commit: cbb42c6b6a]
2016-03-08 03:40:56 -06:00
Aditya Atluri cbb42c6b6a Added a random test for memcpyAsync 2016-03-08 03:40:56 -06:00
Aditya Atluri 5a501d065f v2 added support for unpinned async memcpy
[ROCm/clr commit: dfa9051574]
2016-03-08 03:19:50 -06:00
Aditya Atluri dfa9051574 v2 added support for unpinned async memcpy 2016-03-08 03:19:50 -06:00
Aditya Atluri ab68dc4240 v2 added support for unpinned async memcpy
[ROCm/hip commit: 18c0e69f51]
2016-03-08 03:19:50 -06:00
Aditya Atluri 18c0e69f51 v2 added support for unpinned async memcpy 2016-03-08 03:19:50 -06:00
Aditya Atluri 85f961cc6b Revert "Fixed passing unpinned memory to async memcpy"
This reverts commit e98925075b.


[ROCm/clr commit: 1a61733699]
2016-03-08 03:17:27 -06:00
Aditya Atluri 1a61733699 Revert "Fixed passing unpinned memory to async memcpy"
This reverts commit bf53992605.
2016-03-08 03:17:27 -06:00
Aditya Atluri bf3d3a9745 Revert "Fixed passing unpinned memory to async memcpy"
This reverts commit c272c53808.


[ROCm/hip commit: 45965aaa2d]
2016-03-08 03:17:27 -06:00
Aditya Atluri 45965aaa2d Revert "Fixed passing unpinned memory to async memcpy"
This reverts commit 216af71480.
2016-03-08 03:17:27 -06:00
Aditya Atluri 849d5e76a3 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 218cbf1608]
2016-03-08 03:15:33 -06:00
Aditya Atluri 218cbf1608 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-08 03:15:33 -06:00
Aditya Atluri 7f8a1a3e17 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 81824926be]
2016-03-08 03:15:33 -06:00
Aditya Atluri 81824926be Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-08 03:15:33 -06:00
Aditya Atluri e98925075b Fixed passing unpinned memory to async memcpy
[ROCm/clr commit: bf53992605]
2016-03-08 03:14:49 -06:00
Aditya Atluri bf53992605 Fixed passing unpinned memory to async memcpy 2016-03-08 03:14:49 -06:00
Aditya Atluri c272c53808 Fixed passing unpinned memory to async memcpy
[ROCm/hip commit: 216af71480]
2016-03-08 03:14:49 -06:00
Aditya Atluri 216af71480 Fixed passing unpinned memory to async memcpy 2016-03-08 03:14:49 -06:00
foreman 7b25ca9e85 P4 to Git Change 1244798 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2056 to 2057.

Affected files ...

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


[ROCm/clr commit: 8a535be3ac]
2016-03-08 03:18:15 -05:00
foreman 8a535be3ac P4 to Git Change 1244798 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2056 to 2057.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1803 edit
2016-03-08 03:18:15 -05:00
Ben Sander 98d6ab118f Refactor memccpy tests.
- Add "hipMemcpy_simple" - some simple smoke tests.
- Run memcpy 3 times w/ different switches for kinds, sizes,
  multi-thread.


[ROCm/clr commit: 1d87879008]
2016-03-07 17:15:48 -06:00