equal
deleted
inserted
replaced
117 std::cerr << e.what() << std::endl; |
117 std::cerr << e.what() << std::endl; |
118 args.print_help(); |
118 args.print_help(); |
119 |
119 |
120 // XXX: handle --help |
120 // XXX: handle --help |
121 return 1; |
121 return 1; |
|
122 } catch (CL_Error &e) { |
|
123 std::cerr << "main: CL_Error:" << e.message << std::endl; |
|
124 |
|
125 return 1; |
122 |
126 |
123 } catch (std::exception &e) { |
127 } catch (std::exception &e) { |
124 std::cerr << e.what() << std::endl; |
128 std::cerr << "FATAL [uncaught_exception] " << e.what() << std::endl; |
125 |
129 |
126 return 1; |
130 return 1; |
127 } |
131 } |
128 } |
132 } |
129 } app; |
133 } app; |