{"id":6105,"date":"2011-10-30T10:28:51","date_gmt":"2011-10-30T08:28:51","guid":{"rendered":"http:\/\/hgpu.org\/?p=6105"},"modified":"2011-10-30T10:28:51","modified_gmt":"2011-10-30T08:28:51","slug":"dynamic-scheduling-of-parallel-code-for-heterogeneous-systems","status":"publish","type":"post","link":"https:\/\/hgpu.org\/?p=6105","title":{"rendered":"Dynamic Scheduling of Parallel Code for Heterogeneous Systems"},"content":{"rendered":"<p>A typical consumer desktop computer has a multi-core CPU with at least two and possibly up to eight processing elements over four processors, and a multi-core GPU with up to 512 processing elements. Both the CPU and the GPU are capable of running parallel code, and this project demonstrates a method for dynamically deciding whether to run a given parallel workload on the CPU or the GPU depending on the state of the system when the code is launched. To achieve this, we tested a selection of parallel OpenCL code on a multi-core CPU and a multi-core GPU, as part of a larger program that runs on the CPU. When the parallel code is launched, the runtime makes a dynamic decision about which processor to run the code on, given system state and historical data. We demonstrate a method for using meta-data available to the runtime and historical data from code profiling to make the dynamic decision. We also discuss the limitations inherenet in attempting to make dynamic predictions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A typical consumer desktop computer has a multi-core CPU with at least two and possibly up to eight processing elements over four processors, and a multi-core GPU with up to 512 processing elements. Both the CPU and the GPU are capable of running parallel code, and this project demonstrates a method for dynamically deciding whether [&hellip;]<\/p>\n","protected":false},"author":351,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11,90,3],"tags":[7,1220,1782,452,1793,67],"class_list":["post-6105","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-opencl","category-paper","tag-ati","tag-ati-radeon-hd-4350","tag-computer-science","tag-heterogeneous-systems","tag-opencl","tag-performance"],"views":2158,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts\/6105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/users\/351"}],"replies":[{"embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6105"}],"version-history":[{"count":0,"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts\/6105\/revisions"}],"wp:attachment":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}