blob: 7b19d230fb84650ef69bbd73f5ba9500fad34174 [file] [log] [blame]
#pragma once
#include "lest.hpp"
#include <torch/autograd.h>
using namespace autograd;
#define CASE( name ) lest_CASE( specification(), name )
#define CUDA_GUARD if (!hasCuda()) {\
std::cerr << "No cuda, skipping test" << std::endl; return;\
}
extern lest::tests & specification();