Use TPB instead of threadsperblock