Mercurial > hg > Game > Cerium
comparison TaskManager/Gpu/GpuScheduler.h @ 2029:c8e35ceae52b draft
couldn't run on linux without unistd.h
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 16 Nov 2014 18:00:06 +0900 |
parents | 4cf85b48ab9e |
children |
comparison
equal
deleted
inserted
replaced
2028:131d90cc3f85 | 2029:c8e35ceae52b |
---|---|
8 #include "TaskManager.h" | 8 #include "TaskManager.h" |
9 | 9 |
10 #ifdef __APPLE__ | 10 #ifdef __APPLE__ |
11 #include <OpenCL/opencl.h> | 11 #include <OpenCL/opencl.h> |
12 #else | 12 #else |
13 #include <unistd.h> | |
13 #include <CL/cl.h> | 14 #include <CL/cl.h> |
14 #endif | 15 #endif |
15 | 16 |
16 extern TaskObject gpu_task_list[MAX_TASK_OBJECT]; | 17 extern TaskObject gpu_task_list[MAX_TASK_OBJECT]; |
17 | 18 |