plastimatch
Loading...
Searching...
No Matches
double_align8.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef __double_align8_h__
5#define __double_align8_h__
6
7/* JAS 2011.07.23
8 * The following is a fix that allows us to more selectively enforce
9 * the -malign-double compatibility required by object files compiled
10 * by nvcc. Any structures that are used by both nvcc compiled files
11 * and gcc/g++ compiled files should use this. The reason we do not
12 * simply pass -malign-double to gcc/g++ in order to achieve this
13 * compatibility is because Slicer's ITK does not come compiled with
14 * the -malign-double flag on 32-bit systems... so, believe it or not
15 * this might be the cleanest solution */
16#if (__GNUC__) && (MACHINE_IS_32_BIT) && (CUDA_FOUND)
17 typedef double double_align8 __attribute__ ((aligned(8)));
18#else
19 typedef double double_align8;
20#endif
21
22#endif
Definition pointset.h:15
double double_align8
Definition double_align8.h:19