change max cuda blockSize

change max cuda blocksize per dimension, to allow usage of 1024 threads per block