ASL
ASL copied to clipboard
Program crash with Visual Studio
Hello I have compiled ASL with VTL 8.1.1 and Boost 1_68_00 I am trying to run the example bus_wind I get a program crash at ApplicationParametersManager
in function
template <cl_int name> typename detail::param_traits<detail::cl_command_queue_info, name>::param_type getInfo(cl_int* err = NULL) const { typename detail::param_traits< detail::cl_command_queue_info, name>::param_type param; cl_int result = getInfo(name, ¶m); if (err != NULL) { *err = result; } return param; } err equals -34 any hint ? thanks jac
Hello @jbensabat ,
check the cl.h file of your OpenCL, it mentions there following error:
#define CL_INVALID_CONTEXT -34
Hi thanks I partly resolved the problem by installing the intel runtime driver for my computer (CPU only) It then pops into a same error code but other function
string getPlatformVendor(const CommandQueue & queue)
{
cl_context_properties cps = getContext(queue).getInfo<CL_CONTEXT_PROPERTIES>()[1];
return (cl::Platform((cl_platform_id)cps)).getInfo<CL_PLATFORM_VENDOR>();
}
it gets a "subscript out of range" error upon calling the function getContext(queue).getInfo<CL_CONTEXT_PROPERTIES>()[1] It seems that the OpenCL has still to be properly adjusted best jac