convert gpu lib to use c++-style include files

This commit is contained in:
Axel Kohlmeyer 2018-05-08 00:25:10 -04:00
parent ff6507e7b7
commit 3394d18a2a
60 changed files with 60 additions and 60 deletions

View File

@ -300,7 +300,7 @@
#ifndef __CUDPP_H__
#define __CUDPP_H__
#include <stdlib.h> // for size_t
#include <cstdlib> // for size_t
#ifdef __cplusplus
extern "C" {

View File

@ -16,7 +16,7 @@
//#include "cudpp_spmvmult.h"
#include "cudpp_radixsort.h"
#include <assert.h>
#include <cassert>
CUDPPPlanManager* CUDPPPlanManager::m_instance = NULL;

View File

@ -25,7 +25,7 @@
#include <cuda.h>
#include <cudpp.h>
#include <limits.h>
#include <float.h>
#include <cfloat>
#if (CUDA_VERSION >= 3000)
#define LAUNCH_BOUNDS(x) __launch_bounds__((x))

View File

@ -1,7 +1,7 @@
#ifndef NVD_MACROS_H
#define NVD_MACROS_H
#include <stdio.h>
#include <cstdio>
#include <cassert>
#include <cuda.h>

View File

@ -1,7 +1,7 @@
#ifndef OCL_MACROS_H
#define OCL_MACROS_H
#include <stdio.h>
#include <cstdio>
#include <cassert>
#ifdef __APPLE__

View File

@ -16,7 +16,7 @@
#ifndef LAL_ANSWER_H
#define LAL_ANSWER_H
#include <math.h>
#include <cmath>
#include "mpi.h"
#if defined(USE_OPENCL)

View File

@ -16,7 +16,7 @@
#ifndef PAIR_GPU_ATOM_H
#define PAIR_GPU_ATOM_H
#include <math.h>
#include <cmath>
#include "mpi.h"
#if defined(USE_OPENCL)

View File

@ -17,7 +17,7 @@
#define LAL_BALANCE_H
#include "lal_device.h"
#include <math.h>
#include <cmath>
#define _HD_BALANCE_EVERY 25
#define _HD_BALANCE_WEIGHT 0.5

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_beck.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_born_coul_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_born_coul_wolf.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_born.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_buck_coul.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_buck_coul_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_buck.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_charmm_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_colloid.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_coul_debye.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_coul_dsf.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_coul.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_coul_long.h"

View File

@ -16,7 +16,7 @@
#include "lal_device.h"
#include "lal_precision.h"
#include <map>
#include <math.h>
#include <cmath>
#ifdef _OPENMP
#include <omp.h>
#endif

View File

@ -22,7 +22,7 @@
#include "lal_pppm.h"
#include "mpi.h"
#include <sstream>
#include "stdio.h"
#include <cstdio>
#include <string>
#include <queue>

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_dipole_lj.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_dipole_lj_sf.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_dpd.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_eam.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_eam.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_eam.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_gauss.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_gayberne.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj96.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_class2_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_coul_debye.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_coul.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_coul_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_coul_msm.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_cubic.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_dsf.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_expand.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_gromacs.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_sdk.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_lj_sdk_long.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_mie.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_morse.h"

View File

@ -17,7 +17,7 @@
#include "lal_precision.h"
#include "lal_neighbor.h"
#include "lal_device.h"
#include "math.h"
#include <cmath>
using namespace LAMMPS_AL;
int Neighbor::bytes_per_atom(const int max_nbors) const {

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_pppm.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_re_squared.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_soft.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_sw.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_table.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_tersoff.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_tersoff_mod.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_tersoff_zbl.h"

View File

@ -17,7 +17,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_ufm.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_vashishta.h"
using namespace LAMMPS_AL;

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_yukawa_colloid.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_yukawa.h"

View File

@ -15,7 +15,7 @@
#include <iostream>
#include <cassert>
#include <math.h>
#include <cmath>
#include "lal_zbl.h"