GPU compute design optimization

Made sure that CPU and GPU can perform their respective tasks in parallel