Ignore:
Timestamp:
Apr 17, 2011 5:58:37 AM (10 years ago)
Author:
stefan
Message:

adjust to changes in CoinUtils? header files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPackedMatrix.cpp

    r1679 r1722  
    2424#ifdef INTEL_MKL
    2525#include "mkl_spblas.h"
     26#endif
     27
     28//=============================================================================
     29#ifdef COIN_PREFETCH
     30#if 1
     31#define coin_prefetch(mem) \
     32         __asm__ __volatile__ ("prefetchnta %0" : : "m" (*(reinterpret_cast<char *>(mem))))
     33#define coin_prefetch_const(mem) \
     34         __asm__ __volatile__ ("prefetchnta %0" : : "m" (*(reinterpret_cast<const char *>(mem))))
     35#else
     36#define coin_prefetch(mem) \
     37         __asm__ __volatile__ ("prefetch %0" : : "m" (*(reinterpret_cast<char *>(mem))))
     38#define coin_prefetch_const(mem) \
     39         __asm__ __volatile__ ("prefetch %0" : : "m" (*(reinterpret_cast<const char *>(mem))))
     40#endif
     41#else
     42// dummy
     43#define coin_prefetch(mem)
     44#define coin_prefetch_const(mem)
    2645#endif
    2746
Note: See TracChangeset for help on using the changeset viewer.