 
 #include <iostream>
 #include <fstream>
+#include <limits>
 
 // #include "debug_macros.h"
 // #include "align_macro.h"


namespace popart {

void write_plane2D( const char* filename, bool onDevice, Plane2D_float& f )
{
    if( onDevice ) {

    }
}

__host__
void write_plane2D( const char* filename, Plane2D_float& f )
{
    // cerr << "Enter " << __FUNCTION__ << endl;
