Changeset 415:df8892864728

Show
Ignore:
Timestamp:
10/29/2012 07:39:00 AM (8 months ago)
Author:
Andreas Schaefer <gentryx@…>
Branch:
default
Message:

define cuda target specifiers on CUDA builds, too, when no nvcc is being used

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/misc/cudautil.h

    r413 r415  
    55#include <stdexcept> 
    66#include <libgeodecomp/config.h> 
    7  
    8 #ifndef LIBGEODECOMP_FEATURE_CUDA 
    97 
    108#ifndef __host__ 
     
    1513#define __device__ 
    1614#endif  
    17  
    18 #endif 
    1915 
    2016#ifdef LIBGEODECOMP_FEATURE_CUDA