#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <time.h>

#define REPEAT_KERNEL 10

#define TRUE  1
#define FALSE 0


/******** Change accordingly *************/
typedef int32_t MyData;
#define MyType "int32_t"
/*****************************************/

#define MEMORY_ALIGNMENT 128
#define BLOCK            128
const unsigned int BSIZE = BLOCK;

struct get_time
{
  double start, end;
};

struct get_time exe;

double wall_time()
{
   struct timespec ts;
   clock_gettime(CLOCK_MONOTONIC,&ts);
   const double ret = (double) (ts.tv_sec) + (double) ts.tv_nsec * 1.0e-9;
   return ret;
}
