 
 static void benchmark(const QueueList& queues, const BufferPtr& buffer, const Settings& settings, size_t blockSize)
 {
-    std::vector<Times> times;
+    Times times[queues.size()];
     thread threads[queues.size()];
 
     if (settings.cudaDevice == -1)

                cudaFree(bufferPtr);
            }
            throw runtime_error("Unable to verify random blocks!");
            break;
    }

    free(ptr);


    nvm_sq_submit(&queue->sq);

    while (nvm_cq_dequeue(&queue->cq) == nullptr)
    {
        std::this_thread::yield();
    }
