From a950be99f2a2783d51d5d2fec7f749a8dedd9540 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Mon, 22 Jul 2019 13:04:04 +0300 Subject: [PATCH] Streams now created with priority (all streams have the same priority by default) --- src/core/device.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/device.cu b/src/core/device.cu index e52ff09..d86311b 100644 --- a/src/core/device.cu +++ b/src/core/device.cu @@ -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