Skip to content
Snippets Groups Projects
Commit e03210e7 authored by Pavol Margitfalvi's avatar Pavol Margitfalvi Committed by Chris Cantwell
Browse files

Make output from main more clear

parent ced187ef
No related branches found
No related tags found
1 merge request!1Updated code to use a common base class and single factory pattern.
......@@ -47,6 +47,8 @@ int main()
// Using a CPU operator with a CUDA mem region should also work
BwdTrans<>::create("MatFree")->apply(in, out);
std::cout << std::endl;
try
{
// It does not work the other way around though
......@@ -56,7 +58,9 @@ int main()
}
catch (std::exception const &e)
{
std::cout << e.what() << std::endl;
std::cout << "Calling CUDA operator with CPU-backed Field throws an "
"exception of: \n\t"
<< e.what() << std::endl;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment