76333 Commits

Author SHA1 Message Date
atimofee 5cd248c55f Hipify tool in it current state 2016-02-17 18:34:58 +03:00
atimofee 161c56f7c8 Hipify tool in it current state
[ROCm/hip commit: 434c070ea7]
2016-02-17 18:34:58 +03:00
atimofee 434c070ea7 Hipify tool in it current state 2016-02-17 18:34:58 +03:00
pensun 60f00e4e8a 1. Bug fix
2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.


[ROCm/clr commit: c1da0f1e12]
2016-02-17 09:32:50 -06:00
pensun c1da0f1e12 1. Bug fix
2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.
2016-02-17 09:32:50 -06:00
pensun b3d70ca271 1. Bug fix
2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.


[ROCm/hip commit: 8aa4bfce57]
2016-02-17 09:32:50 -06:00
pensun 8aa4bfce57 1. Bug fix
2. passed initial tests on different sets of
HIP_VISIBLE_DEVICES: (0),(1),(0,1),(1,2),(2,3),(1,2,3),(2,3,4),(1,5,2,3)
and achieved expected choice of GPU devices at the runtime.
3. Passed HIP test suite.
2016-02-17 09:32:50 -06:00
pensun afc377b2bc Implementation of HIP_VISIBLE_DEVICES in runtime
[ROCm/clr commit: 43785243a5]
2016-02-17 06:59:18 -06:00
pensun 43785243a5 Implementation of HIP_VISIBLE_DEVICES in runtime 2016-02-17 06:59:18 -06:00
pensun e5ff38e421 Implementation of HIP_VISIBLE_DEVICES in runtime
[ROCm/hip commit: c1e120fb1b]
2016-02-17 06:59:18 -06:00
pensun c1e120fb1b Implementation of HIP_VISIBLE_DEVICES in runtime 2016-02-17 06:59:18 -06:00
foreman dc461f368a P4 to Git Change 1237747 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2036 to 2037.

Affected files ...

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


[ROCm/clr commit: d1b2399af8]
2016-02-17 03:06:09 -05:00
foreman d1b2399af8 P4 to Git Change 1237747 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2036 to 2037.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1783 edit
2016-02-17 03:06:09 -05:00
Ben Sander 6856d28ca3 more work on async copies
[ROCm/clr commit: 0cdbe1ff05]
2016-02-17 00:59:12 -06:00
Ben Sander 0cdbe1ff05 more work on async copies 2016-02-17 00:59:12 -06:00
Ben Sander bb8a1fe72d more work on async copies
[ROCm/hip commit: 59379ffb44]
2016-02-17 00:59:12 -06:00
Ben Sander 59379ffb44 more work on async copies 2016-02-17 00:59:12 -06:00
Felix Kuehling 7a383f9d88 Fix memory leaks due to stale CPU mappings
Use the aligned size of the buffer objects for CPU unmapping in
__fmm_release instead of relying on the unaligned size passed in by
the caller.

Change-Id: If986ec24e9a05d32981549fddbf143221fc40bac
2016-02-16 18:12:05 -05:00
Felix Kuehling 6d856ebbff Fix memory leaks due to stale CPU mappings
Use the aligned size of the buffer objects for CPU unmapping in
__fmm_release instead of relying on the unaligned size passed in by
the caller.

Change-Id: If986ec24e9a05d32981549fddbf143221fc40bac


[ROCm/ROCR-Runtime commit: 7a383f9d88]
2016-02-16 18:12:05 -05:00
Felix Kuehling 85f9efb1a0 Add support for register/deregister memory for dGPU
Allocate SVM address space for the registered memory and use new
userptr support in KFD to create a system memory BO associated with
the given user pointer. Map this BO at the SVM address for CPU
access.

MapMemoryToGPU can be used with the registered user pointer and
will return the SVM address as alternate GPUVA.

Change-Id: I4886e193c51fb6870a567878870c36bf8b5c3748
2016-02-16 18:12:05 -05:00
Felix Kuehling 99325bf7c4 Add support for register/deregister memory for dGPU
Allocate SVM address space for the registered memory and use new
userptr support in KFD to create a system memory BO associated with
the given user pointer. Map this BO at the SVM address for CPU
access.

MapMemoryToGPU can be used with the registered user pointer and
will return the SVM address as alternate GPUVA.

Change-Id: I4886e193c51fb6870a567878870c36bf8b5c3748


[ROCm/ROCR-Runtime commit: 85f9efb1a0]
2016-02-16 18:12:05 -05:00
Ben Goz 00386734b1 Align gpu-id-array size to multiple of sizeof(uint32_t)
Change-Id: I9f46b6a331a8d928ef570b420fb60b99b2edfdd1
Signed-off-by: Ben Goz <ben.goz@amd.com>
2016-02-16 11:27:06 -05:00
Ben Goz 89905c0cd7 Align gpu-id-array size to multiple of sizeof(uint32_t)
Change-Id: I9f46b6a331a8d928ef570b420fb60b99b2edfdd1
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: 00386734b1]
2016-02-16 11:27:06 -05:00
Besar Wicaksono (xN/A) TX [TEXT] bbe0be05d4 Modify MatrixMultiplication sample to use memory pool API
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1237420]
2016-02-16 11:12:25 -05:00
Besar Wicaksono (xN/A) TX [TEXT] 62ea8e12e3 Modify MatrixMultiplication sample to use memory pool API
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1237420]


[ROCm/ROCR-Runtime commit: bbe0be05d4]
2016-02-16 11:12:25 -05:00
pensun 31bba31b90 modify to add remove invalid devices numbers
[ROCm/clr commit: 7309e9ea6a]
2016-02-16 10:00:05 -06:00
pensun 7309e9ea6a modify to add remove invalid devices numbers 2016-02-16 10:00:05 -06:00
pensun 66df1ff930 modify to add remove invalid devices numbers
[ROCm/hip commit: 060439b6ab]
2016-02-16 10:00:05 -06:00
pensun 060439b6ab modify to add remove invalid devices numbers 2016-02-16 10:00:05 -06:00
pensun 07e4d8261c Implement to read HIP_VISIBLE_DEVICES to internal global variable
[ROCm/clr commit: 45d863851d]
2016-02-16 07:39:04 -06:00
pensun 45d863851d Implement to read HIP_VISIBLE_DEVICES to internal global variable 2016-02-16 07:39:04 -06:00
pensun 8c230eab73 Implement to read HIP_VISIBLE_DEVICES to internal global variable
[ROCm/hip commit: d40cbef2af]
2016-02-16 07:39:04 -06:00
pensun d40cbef2af Implement to read HIP_VISIBLE_DEVICES to internal global variable 2016-02-16 07:39:04 -06:00
foreman 4032693c05 P4 to Git Change 1237301 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2035 to 2036.

Affected files ...

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


[ROCm/clr commit: a097a6e2ed]
2016-02-16 03:10:40 -05:00
foreman a097a6e2ed P4 to Git Change 1237301 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2035 to 2036.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1782 edit
2016-02-16 03:10:40 -05:00
Ben Sander 0e83efe14d Add per-stream pool for hsa_signals.
[ROCm/clr commit: 5d721a2649]
2016-02-16 01:59:13 -06:00
Ben Sander 5d721a2649 Add per-stream pool for hsa_signals. 2016-02-16 01:59:13 -06:00
Ben Sander 512163b889 Add per-stream pool for hsa_signals.
[ROCm/hip commit: caef9b5ced]
2016-02-16 01:59:13 -06:00
Ben Sander caef9b5ced Add per-stream pool for hsa_signals. 2016-02-16 01:59:13 -06:00
Ben Sander d0b29d9192 Add comments to tests
[ROCm/clr commit: 731a2a58d3]
2016-02-16 01:58:24 -06:00
Ben Sander 731a2a58d3 Add comments to tests 2016-02-16 01:58:24 -06:00
Ben Sander 787078f0b3 Add comments to tests
[ROCm/hip commit: fb883d9d03]
2016-02-16 01:58:24 -06:00
Ben Sander fb883d9d03 Add comments to tests 2016-02-16 01:58:24 -06:00
Ben Sander f8f40e07bf Update before checkin to HCC.
Add support for USE_AM_TRACKER=2 (HCC version).
Add AM_ALLOC, AM_FREE indirection to ease swapping AM implementations.


[ROCm/clr commit: 1ed431c0f6]
2016-02-15 21:16:00 -06:00
Ben Sander 1ed431c0f6 Update before checkin to HCC.
Add support for USE_AM_TRACKER=2 (HCC version).
Add AM_ALLOC, AM_FREE indirection to ease swapping AM implementations.
2016-02-15 21:16:00 -06:00
Ben Sander 9ab5b92173 Update before checkin to HCC.
Add support for USE_AM_TRACKER=2 (HCC version).
Add AM_ALLOC, AM_FREE indirection to ease swapping AM implementations.


[ROCm/hip commit: 38c735fd1d]
2016-02-15 21:16:00 -06:00
Ben Sander 38c735fd1d Update before checkin to HCC.
Add support for USE_AM_TRACKER=2 (HCC version).
Add AM_ALLOC, AM_FREE indirection to ease swapping AM implementations.
2016-02-15 21:16:00 -06:00
Besar Wicaksono (xN/A) TX [TEXT] c494af9d49 Add sample application to use the new memory pool API.
Details:
- add HsaGetInfo program that prints out all available CPU, GPU and their respective memory pools.

[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1237219]
2016-02-15 18:11:44 -05:00
Besar Wicaksono (xN/A) TX [TEXT] f166016d8a Add sample application to use the new memory pool API.
Details:
- add HsaGetInfo program that prints out all available CPU, GPU and their respective memory pools.

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


[ROCm/ROCR-Runtime commit: c494af9d49]
2016-02-15 18:11:44 -05:00
Ben Sander 93c07bc3d1 Move warpSize to header, have shuffles use default warpsize.
[ROCm/clr commit: bd7e3b83b9]
2016-02-15 05:41:09 -06:00