File size: 385 Bytes
3e5595b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

// OpenCL SDK includes
#include "OpenCLUtilsCpp_Export.h"

#include <CL/Utils/Error.hpp>

// OpenCL includes
#include <CL/opencl.hpp>

namespace cl {
namespace util {
    Context UTILSCPP_EXPORT get_context(cl_uint plat_id, cl_uint dev_id,
                                        cl_device_type type,
                                        cl_int* error = nullptr);
}
}