Streams now created with priority (all streams have the same priority by default)
This commit is contained in:
@@ -155,7 +155,7 @@ createDevice(const int id, const AcMeshInfo device_config, Device* device_handle
|
|||||||
|
|
||||||
// Concurrency
|
// Concurrency
|
||||||
for (int i = 0; i < NUM_STREAM_TYPES; ++i) {
|
for (int i = 0; i < NUM_STREAM_TYPES; ++i) {
|
||||||
cudaStreamCreateWithFlags(&device->streams[i], cudaStreamNonBlocking);
|
cudaStreamCreateWithPriority(&device->streams[i], cudaStreamNonBlocking, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Memory
|
// Memory
|
||||||
|
|||||||
Reference in New Issue
Block a user