Data Structures | Namespaces | Defines

/data/development/ViennaCL/dev/viennacl/ocl/error.hpp File Reference

Error handling for the OpenCL layer of ViennaCL. More...

#include <CL/cl.h>
#include <string>
#include <iostream>
#include <exception>

Go to the source code of this file.

Data Structures

class  device_not_found
class  device_not_available
class  compiler_not_available
class  mem_object_allocation_failure
class  out_of_resources
class  out_of_host_memory
class  profiling_info_not_available
class  mem_copy_overlap
class  image_format_mismatch
class  image_format_not_supported
class  build_program_failure
class  map_failure
class  invalid_value
class  invalid_device_type
class  invalid_platform
class  invalid_device
class  invalid_context
class  invalid_queue_properties
class  invalid_command_queue
class  invalid_host_ptr
class  invalid_mem_object
class  invalid_image_format_descriptor
class  invalid_image_size
class  invalid_sampler
class  invalid_binary
class  invalid_build_options
class  invalid_program
class  invalid_program_executable
class  invalid_kernel_name
class  invalid_kernel_definition
class  invalid_kernel
class  invalid_arg_index
class  invalid_arg_value
class  invalid_arg_size
class  invalid_kernel_args
class  invalid_work_dimension
class  invalid_work_group_size
class  invalid_work_item_size
class  invalid_global_offset
class  invalid_event_wait_list
class  invalid_event
class  invalid_operation
class  invalid_gl_object
class  invalid_buffer_size
class  invalid_mip_level
class  invalid_global_work_size
class  invalid_property
class  unknown_error
class  double_precision_not_provided_error
struct  error_checker< T >
 An error reporting class. Template argument is used to avoid problems with external linkage. More...

Namespaces

namespace  viennacl
namespace  viennacl::ocl

Defines

#define VIENNACL_BUG_REPORT_STRING
#define VIENNACL_ERR_CHECK(err)   viennacl::ocl::error_checker<void>::checkError(err, __FILE__, __FUNCTION__, __LINE__);

Detailed Description

Error handling for the OpenCL layer of ViennaCL.


Define Documentation

#define VIENNACL_BUG_REPORT_STRING
Value:
"\nIf you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:\n"\
               " * Operating System\n"\
               " * Which OpenCL implementation (AMD, NVIDIA, etc.)\n"\
               " * ViennaCL version\n"\
               "Many thanks in advance!";\
#define VIENNACL_ERR_CHECK (   err  )     viennacl::ocl::error_checker<void>::checkError(err, __FILE__, __FUNCTION__, __LINE__);