Step1 in staging buffer copy.

- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).


[ROCm/hip commit: 24c1fdb864]
This commit is contained in:
Ben Sander
2016-02-12 04:30:09 -06:00
parent b9dc0e9497
commit c441d5ec29
6 changed files with 188 additions and 45 deletions
+3
View File
@@ -151,6 +151,9 @@ syn keyword hipFunctionName hipUnbindTexture
syn keyword hipFlags hipFilterModePoint
syn keyword hipFlags hipMemcpyHostToDevice
syn keyword hipFlags hipMemcpyDeviceToHost
syn keyword hipFlags hipMemcpyHostToHost
syn keyword hipFlags hipMemcpyDeviceToDevice
syn keyword hipFlags hipMemcpyDefault
syn keyword hipFlags hipReadModeElementType
syn keyword hipFlags hipSuccess
syn keyword hipFlags hipTextureType1D