ESPIRiT GPU test
@@ -40,6 +40,15 @@ tests/test-ecalib-rotation2: ecalib cc fmac transpose nrmse $(TESTS_OUT)/shepplo
rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
touch $@
+tests/test-ecalib-gpu: ecalib pocsense nrmse $(TESTS_OUT)/shepplogan_coil_ksp.ra
+ set -e ; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
+ $(TOOLDIR)/ecalib -m1 $(TESTS_OUT)/shepplogan_coil_ksp.ra coils1.ra ;\
+ $(TOOLDIR)/ecalib -g -m1 $(TESTS_OUT)/shepplogan_coil_ksp.ra coils2.ra ;\
+ $(TOOLDIR)/nrmse -t 0.00001 coils1.ra coils2.ra ;\
+ rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
+ touch $@
+
TESTS += tests/test-ecalib tests/test-ecalib-auto tests/test-ecalib-rotation
TESTS += tests/test-ecalib-rotation2
+TESTS_GPU += tests/test-ecalib-gpu
