-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgeckoLocation.h
More file actions
24 lines (15 loc) · 797 Bytes
/
geckoLocation.h
File metadata and controls
24 lines (15 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Created by millad on 12/3/18.
//
#ifndef GECKO_GECKOLOCATION_H
#define GECKO_GECKOLOCATION_H
#include "geckoDataTypes.h"
const char* geckoGetLocationTypeName(GeckoLocationArchTypeEnum deviceType);
string geckoGetLocationTypeNameStr(GeckoLocationArchTypeEnum deviceType);
GeckoError geckoLocationtypeDeclare(char *name, GeckoLocationArchTypeEnum deviceType, const char *microArch,
int numCores, const char *mem_size, const char *mem_type, float bandwidth_GBps);
GeckoError geckoLocationDeclare(const char *name, const char *_type, int all, int start, int count);
GeckoError geckoSetDevice(GeckoLocation *device);
GeckoError geckoSetBusy(GeckoLocation *device);
GeckoError geckoBindLocationToThread(int threadID, GeckoLocation *loc);
#endif //GECKO_GECKOLOCATION_H