1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-03-15 00:36:10 +00:00
Files
Grid/benchmarks/disable_benchmarks_without_instantiations.h
2026-03-11 17:24:44 -04:00

17 lines
400 B
C++

#include <Grid/Grid.h>
#pragma once
#ifndef ENABLE_FERMION_INSTANTIATIONS
#include <iostream>
int main(void) {
std::cout << "This build of Grid was configured to exclude fermion instantiations, "
<< "which this benchmark relies on. "
<< "Please reconfigure and rebuild Grid with --enable-fermion-instantiations"
<< "to run this benchmark."
<< std::endl;
return 1;
}
#endif