diff options
Diffstat (limited to 'src/api/api_sampler.cpp')
-rw-r--r-- | src/api/api_sampler.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/api/api_sampler.cpp b/src/api/api_sampler.cpp new file mode 100644 index 0000000..8c4d74a --- /dev/null +++ b/src/api/api_sampler.cpp @@ -0,0 +1,34 @@ +#include <OpenCL/cl.h> + +// Sampler APIs +cl_sampler +clCreateSampler(cl_context context, + cl_bool normalized_coords, + cl_addressing_mode addressing_mode, + cl_filter_mode filter_mode, + cl_int * errcode_ret) +{ + return 0; +} + +cl_int +clRetainSampler(cl_sampler sampler) +{ + return 0; +} + +cl_int +clReleaseSampler(cl_sampler sampler) +{ + return 0; +} + +cl_int +clGetSamplerInfo(cl_sampler sampler, + cl_sampler_info param_name, + size_t param_value_size, + void * param_value, + size_t * param_value_size_ret) +{ + return 0; +} |