mpmc-queue.cc init size fixed
[cdsspec-compiler.git] / benchmark / mpmc-queue / mpmc-queue.cc
index ca063e9891aa0657e85a6501fa2a5ecaccdc3586..3a19045a65f5f935446f077ca8337a2ea5581e8c 100644 (file)
@@ -108,7 +108,7 @@ void process_params(int argc, char **argv)
 
 int user_main(int argc, char **argv)
 {
-       struct mpmc_boundq_1_alt<int32_t, 2> queue;
+       struct mpmc_boundq_1_alt<int32_t, sizeof(int32_t)> queue;
        thrd_t A[MAXWRITERS], B[MAXREADERS], C[MAXRDWR];
 
        /* Note: optarg() / optind is broken in model-checker - workaround is