Number of threads is passed as CL argument
Added thread limit and flushed shared variables. Impressive performance boost
Added thread limit and flushed shared variables. Impressive performance boost