Remove catching cl::Error in CUDA version

This commit is contained in:
Tom Deakin 2015-07-16 17:30:13 +01:00
parent cfe2f862ae
commit 435cb3b971

View File

@ -246,15 +246,6 @@ int main(int argc, char *argv[])
} }
} }
// Catch OpenCL Errors and display information
catch (cl::Error& e)
{
std::cerr
<< "Error: "
<< e.what()
<< "(" << e.err() << ")"
<< std::endl;
}
catch (std::exception& e) catch (std::exception& e)
{ {
std::cerr std::cerr