tuning block sizes and setting up shared memory for conv