fix the pthread_mutex_t undefine compile error and some undefined error would occur when
using math.h in C++ file.for C++ file,it is better using cmath instead off math.h.
Signed-off-by: Lv Meng <meng.lv@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
#include "CL/cl.h"
#include "cl_khr_icd.h"
#include <assert.h>
+#include <pthread.h>
#ifndef CL_VERSION_1_2
#define CL_MEM_OBJECT_IMAGE1D 0x10F4
#include "utest_helper.hpp"
#include <stdio.h>
-#include <math.h>
+#include <cmath>
#include <algorithm>
#include <string.h>