Ticket #9392: nvcc.patch
| File nvcc.patch, 352 bytes (added by , 9 years ago) |
|---|
| Line | |
|---|---|
| 1 | 593,594c593,598 |
| 2 | < // Clang also defines __GNUC__ (as 4) |
| 3 | < # define BOOST_NOINLINE __attribute__ ((__noinline__)) |
| 4 | --- |
| 5 | > // ICC and Clang (as 4) also define __GNUC__ |
| 6 | > # if defined(__CUDACC__) |
| 7 | > # define BOOST_NOINLINE __attribute__ ((noinline)) |
| 8 | > # else |
| 9 | > # define BOOST_NOINLINE __attribute__ ((__noinline__)) |
| 10 | > # endif |
