Skip to content

Instantly share code, notes, and snippets.

@mahuna13
mahuna13 / std.cpp
Created May 9, 2012 10:19
standard library functions for Halide
#include "std_try.h"
#include <math.h>
using namespace Halide;
#define PI 3.14159
/*
Interpolations
*/
@mahuna13
mahuna13 / morph.cpp
Created May 1, 2012 06:07
image morphing in Halide
#include <Halide.h>
using namespace Halide;
#include "../png.h"
#include <typeinfo>
#include <iostream>
#include <string>
#include <math.h>
#define PI 3.14159
#include <Halide.h>
using namespace Halide;
#include "../png.h"
#include <typeinfo>
#include <iostream>
#include <string>
#include <math.h>
#define PI 3.141592653589