replaced localThreads to NULL for some ocl algo