1 #ifndef VIENNACL_RAND_GAUSSIAN_HPP_
2 #define VIENNACL_RAND_GAUSSIAN_HPP_
35 gaussian_tag(
float _mu = 0,
float _sigma = 1) : mu(_mu), sigma(_sigma){ }
40 template<
class ScalarType>
41 struct buffer_dumper<
ScalarType, gaussian_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...
Represents an OpenCL kernel within ViennaCL.
size_type local_work_size(int index=0) const
Returns the local work size at the respective dimension.
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.)
result_of::size_type< T >::type start(T const &obj)
Implements the multi-memory-domain handle.
void enqueue(KernelType &k, viennacl::ocl::command_queue const &queue)
Enqueues a kernel in the provided queue.
size_type global_work_size(int index=0) const
Returns the global work size at the respective dimension.
Main abstraction class for multiple memory domains. Represents a buffer in either main RAM...