Removed jslice as a class variable as it is only used in the exec
function and can take different values for different solvers
Merge remote-tracking branch 'upstream/master' into cuda
Fixed the jslice declaration now the variable has been removed as a class member
Disable the scalar in the Moser cases and put the default order back to 4
Merge remote-tracking branch 'upstream/cuda' into cuda
Cleanup unused code
Added wrappers to check for errors in CUDA api and kernel calls
Added the api call check to fields.cu; works for e.g. malloc larger than device memory, or free of invalid device pointer
Added kernel check as a test in fields.cu, works when e.g. calling a cuda kernel with host pointer