- move lockedaccessor
- clean up device class.
- add simple ihipDevice constructor.


[ROCm/clr commit: c47b5b04ef]
Этот коммит содержится в:
Ben Sander
2016-03-26 11:45:25 -05:00
родитель e16e848d55
Коммит 0b0c55af04
4 изменённых файлов: 60 добавлений и 56 удалений
+1 -1
Просмотреть файл
@@ -41,7 +41,7 @@ hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
//Note this is an execute_in_order queue, so all kernels submitted will atuomatically wait for prev to complete:
//This matches CUDA stream behavior:
auto istream = new ihipStream_t(device->_device_index, acc.create_view(), device->_stream_id, flags);
auto istream = new ihipStream_t(device->_device_index, acc.create_view(), flags);
device->locked_addStream(istream);