From ec5d584b4825458d5b9e7d9fc2c8f55b003808cd Mon Sep 17 00:00:00 2001 From: Pranav Prakash Date: Fri, 24 Jan 2020 22:45:33 -0800 Subject: [PATCH] Type fix to avoid comparison of int with size_t --- internal/multi_thread_gemm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/multi_thread_gemm.h b/internal/multi_thread_gemm.h index 97183e7..711b2c6 100644 --- a/internal/multi_thread_gemm.h +++ b/internal/multi_thread_gemm.h @@ -402,7 +402,7 @@ class WorkersPool { CreateWorkers(workers_count); assert(workers_count <= workers_.size()); counter_to_decrement_when_ready_.Reset(workers_count); - for (int i = 0; i < tasks_count - 1; i++) { + for (size_t i = 0; i < tasks_count - 1; i++) { workers_[i]->StartWork(tasks[i]); } // Execute the remaining workload immediately on the current thread.