Maneesh Gupta
fcafb975a6
Fix build issues due to refactoring changes
...
Change-Id: I0a709ff4864244ba1b49e1a25327e3901ed6e17f
2016-08-09 22:49:32 +05:30
Maneesh Gupta
c0398a8de6
Fix build issues due to refactoring changes
...
Change-Id: I0a709ff4864244ba1b49e1a25327e3901ed6e17f
[ROCm/hip commit: 76eeaf4fbb ]
2016-08-09 22:49:32 +05:30
Maneesh Gupta
76eeaf4fbb
Fix build issues due to refactoring changes
...
Change-Id: I0a709ff4864244ba1b49e1a25327e3901ed6e17f
2016-08-09 22:49:32 +05:30
Rahul Garg
dbf9fd8312
Changed StagingBuffer class to UnpinnedCopyEngine
...
Change-Id: I1e212bfc8030dcf225ecf78fd7b23fda9b1de92f
[ROCm/clr commit: d08b1239ee ]
2016-08-09 21:29:42 +05:30
Rahul Garg
d08b1239ee
Changed StagingBuffer class to UnpinnedCopyEngine
...
Change-Id: I1e212bfc8030dcf225ecf78fd7b23fda9b1de92f
2016-08-09 21:29:42 +05:30
Rahul Garg
e64ae4bda0
Changed StagingBuffer class to UnpinnedCopyEngine
...
Change-Id: I1e212bfc8030dcf225ecf78fd7b23fda9b1de92f
[ROCm/hip commit: 2ac93c340d ]
2016-08-09 21:29:42 +05:30
Rahul Garg
2ac93c340d
Changed StagingBuffer class to UnpinnedCopyEngine
...
Change-Id: I1e212bfc8030dcf225ecf78fd7b23fda9b1de92f
2016-08-09 21:29:42 +05:30
foreman
ff755dbdb9
P4 to Git Change 1300479 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/09 03:00:12
...
SWDEV-2 - Change OpenCL version number from 2190 to 2191.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1937 edit
[ROCm/clr commit: 2d3f969c48 ]
2016-08-09 04:25:04 -04:00
foreman
2d3f969c48
P4 to Git Change 1300479 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/09 03:00:12
...
SWDEV-2 - Change OpenCL version number from 2190 to 2191.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1937 edit
2016-08-09 04:25:04 -04:00
Rahul Garg
cb771c60d3
Moved sync copy decision logic to staging buffer class
...
Change-Id: I5c398772375fcc1f174a7597eea1215ce7bf80b4
[ROCm/clr commit: 4044cb412c ]
2016-08-09 09:28:18 +05:30
Rahul Garg
4044cb412c
Moved sync copy decision logic to staging buffer class
...
Change-Id: I5c398772375fcc1f174a7597eea1215ce7bf80b4
2016-08-09 09:28:18 +05:30
Rahul Garg
99f4d4ebec
Moved sync copy decision logic to staging buffer class
...
Change-Id: I5c398772375fcc1f174a7597eea1215ce7bf80b4
[ROCm/hip commit: 023b1ecf33 ]
2016-08-09 09:28:18 +05:30
Rahul Garg
023b1ecf33
Moved sync copy decision logic to staging buffer class
...
Change-Id: I5c398772375fcc1f174a7597eea1215ce7bf80b4
2016-08-09 09:28:18 +05:30
Ben Sander
0c8ca4b37d
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
[ROCm/clr commit: f19f2248bf ]
2016-08-08 17:49:02 -05:00
Ben Sander
f19f2248bf
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
2016-08-08 17:49:02 -05:00
Ben Sander
db8c7e97bd
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
[ROCm/hip commit: 8f402132ba ]
2016-08-08 17:49:02 -05:00
Ben Sander
8f402132ba
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
2016-08-08 17:49:02 -05:00
Amber Lin
0b5c65a903
Add performance counters for gfx803
...
Counter IDs in SQ_PERFCOUNTER0_SELECT are identical on gfx803 10 and
gfx803 11.
Change-Id: I5cfefd44b52989efd1d89311cf8c70c84ea2b230
2016-08-08 18:10:51 -04:00
Amber Lin
9bc0411400
Add performance counters for gfx803
...
Counter IDs in SQ_PERFCOUNTER0_SELECT are identical on gfx803 10 and
gfx803 11.
Change-Id: I5cfefd44b52989efd1d89311cf8c70c84ea2b230
[ROCm/ROCR-Runtime commit: 0b5c65a903 ]
2016-08-08 18:10:51 -04:00
Ben Sander
c85f34bf8a
Code cleanup, use camelCase where appropriate.
...
Change-Id: I5a7ec50df8bbb3e7a3b313c0b12e2dd55ae4a09c
[ROCm/clr commit: ac173c3ae8 ]
2016-08-08 14:54:38 -05:00
Ben Sander
ac173c3ae8
Code cleanup, use camelCase where appropriate.
...
Change-Id: I5a7ec50df8bbb3e7a3b313c0b12e2dd55ae4a09c
2016-08-08 14:54:38 -05:00
Ben Sander
28db2f79ba
Code cleanup, use camelCase where appropriate.
...
Change-Id: I5a7ec50df8bbb3e7a3b313c0b12e2dd55ae4a09c
[ROCm/hip commit: ed0a2c02fe ]
2016-08-08 14:54:38 -05:00
Ben Sander
ed0a2c02fe
Code cleanup, use camelCase where appropriate.
...
Change-Id: I5a7ec50df8bbb3e7a3b313c0b12e2dd55ae4a09c
2016-08-08 14:54:38 -05:00
Ben Sander
4ef3cb1796
Coding guidelines update
...
Change-Id: Ib8d8da4c3897d157aeb26eb2e99718d66fd260b1
[ROCm/clr commit: 7c5a611df4 ]
2016-08-08 13:12:22 -05:00
Ben Sander
7c5a611df4
Coding guidelines update
...
Change-Id: Ib8d8da4c3897d157aeb26eb2e99718d66fd260b1
2016-08-08 13:12:22 -05:00
Ben Sander
a671758882
Coding guidelines update
...
Change-Id: Ib8d8da4c3897d157aeb26eb2e99718d66fd260b1
[ROCm/hip commit: b1d8f9d00d ]
2016-08-08 13:12:22 -05:00
Ben Sander
b1d8f9d00d
Coding guidelines update
...
Change-Id: Ib8d8da4c3897d157aeb26eb2e99718d66fd260b1
2016-08-08 13:12:22 -05:00
Ben Sander
e6dd8281d0
Move copy kernel templates into hip_memory.cpp
...
Change-Id: I862529f3fa8232372c6bacaa5d36f035bbdd32a1
[ROCm/clr commit: 6dbe554894 ]
2016-08-08 12:07:12 -05:00
Ben Sander
6dbe554894
Move copy kernel templates into hip_memory.cpp
...
Change-Id: I862529f3fa8232372c6bacaa5d36f035bbdd32a1
2016-08-08 12:07:12 -05:00
Ben Sander
e8757f8154
Move copy kernel templates into hip_memory.cpp
...
Change-Id: I862529f3fa8232372c6bacaa5d36f035bbdd32a1
[ROCm/hip commit: 2a798152d4 ]
2016-08-08 12:07:12 -05:00
Ben Sander
2a798152d4
Move copy kernel templates into hip_memory.cpp
...
Change-Id: I862529f3fa8232372c6bacaa5d36f035bbdd32a1
2016-08-08 12:07:12 -05:00
Ben Sander
3ee6e7f8ab
Split ihipCtx_t into ihipCtx_t and ihipDevice_t .
...
Major change to existing code base.
Ctx holds streams, enables peers, and flags.
Device holds accelerator, hsa-agent, device props.
Add hipCtx_t.
Add peer APIs that accept hipCtx_t (in addition to deviceId)
Compiles and passes directed tests.
Change-Id: Iddab1eb9edbf90caad2ef5959c6b811d658197f1
[ROCm/clr commit: d09b19bb6c ]
2016-08-08 11:55:57 -05:00
Ben Sander
d09b19bb6c
Split ihipCtx_t into ihipCtx_t and ihipDevice_t .
...
Major change to existing code base.
Ctx holds streams, enables peers, and flags.
Device holds accelerator, hsa-agent, device props.
Add hipCtx_t.
Add peer APIs that accept hipCtx_t (in addition to deviceId)
Compiles and passes directed tests.
Change-Id: Iddab1eb9edbf90caad2ef5959c6b811d658197f1
2016-08-08 11:55:57 -05:00
Ben Sander
57df8a3967
Split ihipCtx_t into ihipCtx_t and ihipDevice_t .
...
Major change to existing code base.
Ctx holds streams, enables peers, and flags.
Device holds accelerator, hsa-agent, device props.
Add hipCtx_t.
Add peer APIs that accept hipCtx_t (in addition to deviceId)
Compiles and passes directed tests.
Change-Id: Iddab1eb9edbf90caad2ef5959c6b811d658197f1
[ROCm/hip commit: cfdacab32f ]
2016-08-08 11:55:57 -05:00
Ben Sander
cfdacab32f
Split ihipCtx_t into ihipCtx_t and ihipDevice_t .
...
Major change to existing code base.
Ctx holds streams, enables peers, and flags.
Device holds accelerator, hsa-agent, device props.
Add hipCtx_t.
Add peer APIs that accept hipCtx_t (in addition to deviceId)
Compiles and passes directed tests.
Change-Id: Iddab1eb9edbf90caad2ef5959c6b811d658197f1
2016-08-08 11:55:57 -05:00
Ben Sander
4c7160a134
Add initial/partial coding guidelines
...
Change-Id: Ifd8cb3ad74b15d3ab2f38c3daa038a2808af6fa9
[ROCm/clr commit: 694c0bad62 ]
2016-08-08 11:55:41 -05:00
Ben Sander
694c0bad62
Add initial/partial coding guidelines
...
Change-Id: Ifd8cb3ad74b15d3ab2f38c3daa038a2808af6fa9
2016-08-08 11:55:41 -05:00
Ben Sander
1f9d2201fe
Add initial/partial coding guidelines
...
Change-Id: Ifd8cb3ad74b15d3ab2f38c3daa038a2808af6fa9
[ROCm/hip commit: 6aeb2dc8d6 ]
2016-08-08 11:55:41 -05:00
Ben Sander
6aeb2dc8d6
Add initial/partial coding guidelines
...
Change-Id: Ifd8cb3ad74b15d3ab2f38c3daa038a2808af6fa9
2016-08-08 11:55:41 -05:00
Amber Lin
876384305b
Add gfx803 support
...
Add gfx803 and gfx80311 device IDs to the support
Change-Id: I16220fd811db102c02e5e0c5b82e40ec299877af
2016-08-08 11:30:57 -04:00
Amber Lin
194f2083d2
Add gfx803 support
...
Add gfx803 and gfx80311 device IDs to the support
Change-Id: I16220fd811db102c02e5e0c5b82e40ec299877af
[ROCm/ROCR-Runtime commit: 876384305b ]
2016-08-08 11:30:57 -04:00
foreman
33ef846ee2
P4 to Git Change 1299848 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/08 03:00:08
...
SWDEV-2 - Change OpenCL version number from 2189 to 2190.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1936 edit
[ROCm/clr commit: 3183b02d63 ]
2016-08-08 03:08:44 -04:00
foreman
3183b02d63
P4 to Git Change 1299848 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/08 03:00:08
...
SWDEV-2 - Change OpenCL version number from 2189 to 2190.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1936 edit
2016-08-08 03:08:44 -04:00
Ben Sander
e5300e2b40
Change Device->Ctx
...
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
[ROCm/clr commit: 0d16565061 ]
2016-08-07 21:47:12 -05:00
Ben Sander
0d16565061
Change Device->Ctx
...
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
2016-08-07 21:47:12 -05:00
Ben Sander
ee356ad0d4
Change Device->Ctx
...
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
[ROCm/hip commit: 2dc3d3238b ]
2016-08-07 21:47:12 -05:00
Ben Sander
2dc3d3238b
Change Device->Ctx
...
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
2016-08-07 21:47:12 -05:00
Ben Sander
aa43c9e006
Remove ihipStream_r::_device_index
...
Replace with direct pointer to device. Cleaner, and prep
for transition to contexts.
Change-Id: I0e550f34412923d46c541c0a14bb7d29c3fd4b11
[ROCm/clr commit: 3c604b6430 ]
2016-08-07 20:47:06 -05:00
Ben Sander
3c604b6430
Remove ihipStream_r::_device_index
...
Replace with direct pointer to device. Cleaner, and prep
for transition to contexts.
Change-Id: I0e550f34412923d46c541c0a14bb7d29c3fd4b11
2016-08-07 20:47:06 -05:00
Ben Sander
308578d520
Remove ihipStream_r::_device_index
...
Replace with direct pointer to device. Cleaner, and prep
for transition to contexts.
Change-Id: I0e550f34412923d46c541c0a14bb7d29c3fd4b11
[ROCm/hip commit: e7d7c5cbe8 ]
2016-08-07 20:47:06 -05:00