1 #ifndef VIENNACL_RAND_UNIFORM_HPP_
2 #define VIENNACL_RAND_UNIFORM_HPP_
34 uniform_tag(
unsigned int _a = 0,
unsigned int _b = 1) : a(_a), b(_b){ }
39 template<
class ScalarType>
40 struct buffer_dumper<ScalarType, uniform_tag>{
viennacl::ocl::kernel & get_kernel(std::string const &prog_name, std::string const &kernel_name)
Convenience function for getting the kernel for a particular program from the current active context...
Definition: backend.hpp:318
Represents an OpenCL kernel within ViennaCL.
Definition: kernel.hpp:59
Unused: Helper functionality random number generation.
vcl_size_t size(VectorType const &vec)
Generic routine for obtaining the size of a vector (ViennaCL, uBLAS, etc.)
Definition: size.hpp:144
void enqueue(KernelType &k, viennacl::ocl::command_queue const &queue)
Enqueues a kernel in the provided queue.
Definition: enqueue.hpp:48
result_of::size_type< T >::type start(T const &obj)
Definition: start.hpp:43
Implements the multi-memory-domain handle.
Main abstraction class for multiple memory domains. Represents a buffer in either main RAM...
Definition: mem_handle.hpp:62
size_type global_work_size(int index=0) const
Returns the global work size at the respective dimension.
Definition: kernel.hpp:759
size_type local_work_size(int index=0) const
Returns the local work size at the respective dimension.
Definition: kernel.hpp:750