make sure to newline after getlasterror
dial down warp size for GPU to 256
device functions don't need to be declared inline