Remove catching cl::Error in CUDA version
This commit is contained in:
parent
cfe2f862ae
commit
435cb3b971
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user