Go to the source code of this file.
◆ checkSpinorLength
#define checkSpinorLength |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value:{ \
if (a.Length() != b.Length()) \
errorQuda(
"lengths do not match: %lu %lu", a.Length(), b.Length()); \
if (a.Stride() != b.Stride()) \
errorQuda(
"strides do not match: %d %d", a.Stride(), b.Stride()); \
if (a.GammaBasis() != b.GammaBasis()) \
errorQuda(
"gamma basis does not match: %d %d", a.GammaBasis(), b.GammaBasis()); \
}
Definition at line 7 of file copy_quda.cu.
Referenced by quda::blas::copy_ns::copy().