{"id":94,"date":"2016-05-28T19:20:43","date_gmt":"2016-05-28T19:20:43","guid":{"rendered":"http:\/\/www.reliasolve.com\/?p=94"},"modified":"2016-05-28T19:24:21","modified_gmt":"2016-05-28T19:24:21","slug":"aqt-accelerated-x-ray-calculations","status":"publish","type":"post","link":"https:\/\/reliasolve.com\/index.php\/past-projects\/aqt-accelerated-x-ray-calculations\/","title":{"rendered":"AQT: Accelerated X-Ray calculations"},"content":{"rendered":"<p>ReliaSolve worked\u00a0with <a href=\"http:\/\/www.appliedquantumtechnologies.com\/\">Applied Quantum Technologies<\/a>\u00a0on a brief project from March-May 2016 to accelerate maximum-likelihood calculations to solve for the objects causing a specific pattern due to Bragg scattering in prototype X-ray screening machines for airport baggage.<\/p>\n<p>The original OpenCV-based calculations were several orders of magnitude too slow to be useful in the field. \u00a0Through the use of sparse-matrix GPU calculations (cublas was\u00a0not fast enough), custom threads (OpenMP was not fast enough) and running on a 4-node cluster with 3 GPUs each, the calculation was sped up by a factor of over 8000x. \u00a0This brought calculations taking several hours down to about a second. \u00a0The resulting solver is superlinear with problem size (the speed-up factor increases as the problem size increases), largely due to network latencies when communicating partial results between iterations.<\/p>\n<p>A Qt-based workflow application named &#8220;ScatterGather&#8221; was developed to harness the resulting parallel simulator. \u00a0This provides a GUI interface for launching simulation jobs, uses OpenGL to render the resulting slice data, and uses QWT to show normalized per-energy plots of the results. \u00a0This enabled on-time delivery of a complete tool that exceeded performance specifications, along with operations manual and complete installation instructions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ReliaSolve worked\u00a0with Applied Quantum Technologies\u00a0on a brief project from March-May 2016 to accelerate maximum-likelihood calculations to solve for the objects causing a specific pattern due to Bragg scattering in prototype X-ray screening machines for airport baggage. The original OpenCV-based calculations were several orders of magnitude too slow to be useful in the field. \u00a0Through the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-past-projects"],"_links":{"self":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":3,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/94\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}