summaryrefslogtreecommitdiff
path: root/BS/baselines/gpu/binary_search.h
blob: 5849506e54e906ae90d218cdbce77c1df1e84d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef BINARY_SEARCH_H
#define BINARY_SEARCH_H

#ifdef _WIN32
  #include <windows.h>
  #define DLL_EXPORT __declspec(dllexport)
#else
  #define DLL_EXPORT
#endif


extern "C" {

    int DLL_EXPORT binary_search(const long int *arr, const long int len, const long int *querys, const long int num_querys);

}

#endif /* BINARY_SEARCH_H */