paramaterising HOST LOOPCOUNT and THREADCOUNT