Streams now created with priority (all streams have the same priority by default)

This commit is contained in:
jpekkila
2019-07-22 13:04:04 +03:00
parent 168b3c4d8b
commit a950be99f2

View File

@@ -155,7 +155,7 @@ createDevice(const int id, const AcMeshInfo device_config, Device* device_handle
// Concurrency
for (int i = 0; i < NUM_STREAM_TYPES; ++i) {
cudaStreamCreateWithFlags(&device->streams[i], cudaStreamNonBlocking);
cudaStreamCreateWithPriority(&device->streams[i], cudaStreamNonBlocking, 0);
}
// Memory