| 217 | #endif |
| 218 | |
| 219 | int main() |
| 220 | { |
| 221 | #ifdef USE_OPENCL |
| 222 | // Parsing command line flags |
| 223 | gflags::ParseCommandLineFlags(&argc, &argv, true); |
| 224 | |
| 225 | // Running handFromJsonTest |
| 226 | std::thread t(&clTest); |
| 227 | t.join(); |
| 228 | return 0; |
| 229 | #else |
| 230 | op::error("OpenPose must be compiled with the `USE_CAFFE` & `USE_OPENCL` macro definitions in order to run" |
| 231 | " this functionality.", __LINE__, __FUNCTION__, __FILE__); |
| 232 | return -1; |
| 233 | #endif |
| 234 | } |