Linux build fixes
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "../timing.h"
|
#include "../timing.h"
|
||||||
#include "../cpuid.h"
|
#include "../cpuid.h"
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ ISPCLaunch(void *f, void *d) {
|
|||||||
|
|
||||||
static void *
|
static void *
|
||||||
lTaskEntry(void *arg) {
|
lTaskEntry(void *arg) {
|
||||||
int threadIndex = (int)arg;
|
int threadIndex = (int)((int64_t)arg);
|
||||||
int threadCount = nThreads;
|
int threadCount = nThreads;
|
||||||
TaskFuncType func;
|
TaskFuncType func;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user