1 #ifndef VIENNACL_OCL_FORWARDS_H_
2 #define VIENNACL_OCL_FORWARDS_H_
25 #define VIENNACL_OCL_MAX_DEVICE_NUM 8
50 template<
class OCL_TYPE>
53 template <
typename KernelType>
A tag identifying OpenCL devices as GPUs.
Definition: forwards.h:35
Represents an OpenCL kernel within ViennaCL.
Definition: kernel.hpp:59
Manages an OpenCL context and provides the respective convenience functions for creating buffers...
Definition: context.hpp:51
A tag identifying OpenCL devices as CPUs.
Definition: forwards.h:37
A class representing a compute device (e.g. a GPU)
Definition: device.hpp:49
A class representing a command queue.
Definition: command_queue.hpp:45
viennacl::ocl::device const & current_device()
Convenience function for returning the active device in the current context.
Definition: backend.hpp:330
void enqueue(KernelType &k, viennacl::ocl::command_queue const &queue)
Enqueues a kernel in the provided queue.
Definition: enqueue.hpp:48
A tag identifying OpenCL devices as accelerators (e.g. Intel Xeon Phi)
Definition: forwards.h:39
viennacl::ocl::context & current_context()
Convenience function for returning the current context.
Definition: backend.hpp:192
Wrapper class for an OpenCL program.
Definition: program.hpp:40
A tag denoting the default OpenCL device type (SDK-specific)
Definition: forwards.h:41
Handle class the effectively represents a smart pointer for OpenCL handles.
Definition: forwards.h:51