Changes from Mike Brown.
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5277 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
54
lib/gpu/geryon/nvd_mat.h
Normal file
54
lib/gpu/geryon/nvd_mat.h
Normal file
@ -0,0 +1,54 @@
|
||||
/***************************************************************************
|
||||
nvd_mat.h
|
||||
-------------------
|
||||
W. Michael Brown
|
||||
|
||||
CUDA Driver Specific Vector/Matrix Containers, Memory Management, and I/O
|
||||
|
||||
__________________________________________________________________________
|
||||
This file is part of the Geryon Unified Coprocessor Library (UCL)
|
||||
__________________________________________________________________________
|
||||
|
||||
begin : Thu Jan 21 2010
|
||||
copyright : (C) 2010 by W. Michael Brown
|
||||
email : brownw@ornl.gov
|
||||
***************************************************************************/
|
||||
|
||||
/* -----------------------------------------------------------------------
|
||||
Copyright (2010) Sandia Corporation. Under the terms of Contract
|
||||
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
||||
certain rights in this software. This software is distributed under
|
||||
the Simplified BSD License.
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/*! \file */
|
||||
|
||||
#ifndef NVD_MAT_H
|
||||
#define NVD_MAT_H
|
||||
|
||||
#include "nvd_memory.h"
|
||||
|
||||
/// Namespace for CUDA Driver routines
|
||||
namespace ucl_cudadr {
|
||||
|
||||
#define _UCL_MAT_ALLOW
|
||||
#define _UCL_DEVICE_PTR_MAT
|
||||
#include "ucl_basemat.h"
|
||||
#include "ucl_h_vec.h"
|
||||
#include "ucl_h_mat.h"
|
||||
#include "ucl_d_vec.h"
|
||||
#include "ucl_d_mat.h"
|
||||
#undef _UCL_DEVICE_PTR_MAT
|
||||
#undef _UCL_MAT_ALLOW
|
||||
|
||||
#define UCL_COPY_ALLOW
|
||||
#include "ucl_copy.h"
|
||||
#undef UCL_COPY_ALLOW
|
||||
|
||||
#define UCL_PRINT_ALLOW
|
||||
#include "ucl_print.h"
|
||||
#undef UCL_PRINT_ALLOW
|
||||
|
||||
} // namespace ucl_cudadr
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user