mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
63 lines
1.1 KiB
C++
63 lines
1.1 KiB
C++
//
|
|
// Grid.cpp
|
|
// simd
|
|
//
|
|
// Created by Peter Boyle on 09/05/2014.
|
|
// Copyright (c) 2014 University of Edinburgh. All rights reserved.
|
|
//
|
|
|
|
|
|
#ifndef GRID_V3_H
|
|
#define GRID_V3_H
|
|
|
|
#include <stdio.h>
|
|
#include <complex>
|
|
#include <vector>
|
|
#include <iostream>
|
|
#include <cassert>
|
|
#include <random>
|
|
#include <functional>
|
|
#include <stdlib.h>
|
|
#include <sys/time.h>
|
|
#include <stdio.h>
|
|
#include <signal.h>
|
|
|
|
#include <Grid_config.h>
|
|
|
|
////////////////////////////////////////////////////////////
|
|
// Tunable header includes
|
|
////////////////////////////////////////////////////////////
|
|
|
|
#ifdef HAVE_OPENMP
|
|
#define OMP
|
|
#include <omp.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_MALLOC_MALLOC_H
|
|
#include <malloc/malloc.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_MALLOC_H
|
|
#include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <Grid_simd.h>
|
|
#include <Grid_math_types.h>
|
|
#include <Grid_Cartesian.h>
|
|
#include <Grid_aligned_allocator.h>
|
|
#include <Grid_aligned_allocator.h>
|
|
#include <Grid_Lattice.h>
|
|
#include <Grid_QCD.h>
|
|
|
|
namespace dpo {
|
|
|
|
void Grid_init(void);
|
|
double usecond(void);
|
|
void Grid_sa_signal_handler(int sig,siginfo_t *si,void * ptr);
|
|
void Grid_debug_handler_init(void);
|
|
|
|
};
|
|
|
|
#endif
|