fix assign bug in cuSTL

- fix bug that that threads per block can be greater than 1024
add assert to avoid to large block size
change max cuda blockSize

change max cuda blocksize per dimension, to allow usage of 1024 threads per block
Merge pull request #431 from psychocoderHPC/fix-cuSTLAssignBug

Fix cuSTL assign bug