@@ -18,7 +18,10 @@
#define __FXT_H__
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* ou _BSD_SOURCE ou _SVID_SOURCE */
+#endif
+
#include <unistd.h>
#include <sys/syscall.h> /* pour les définitions de SYS_xxx */
@@ -14,6 +14,7 @@
* See the GNU Lesser General Public License in COPYING.LGPL for more details.
*/
+#include <common/config.h>
#include <datawizard/data_parameters.h>
#include <datawizard/coherency.h>
#include <datawizard/copy-driver.h>
@@ -19,6 +19,7 @@
#include <stdio.h>
#include "blas_interface.h"
#include "vector_interface.h"
@@ -18,7 +18,9 @@
#define __DRIVER_CORE_H__
/* to bind threads onto a given cpu */
#define _GNU_SOURCE
#include <sched.h>
#include <common/config.h>
@@ -17,7 +17,9 @@
#ifndef __DRIVER_CUDA_H__
#define __DRIVER_CUDA_H__
#include <assert.h>
@@ -14,7 +14,9 @@
#include <pthread.h>
#include <semaphore.h>
@@ -15,7 +15,9 @@
#include <cuda.h>
#include <cublas.h>