{"id":8388,"date":"2012-10-19T22:48:14","date_gmt":"2012-10-19T19:48:14","guid":{"rendered":"http:\/\/hgpu.org\/?p=8388"},"modified":"2013-10-21T23:39:18","modified_gmt":"2013-10-21T20:39:18","slug":"a-short-guide-to-cuda-c-for-physicists-with-multi-core-graphics-cards","status":"publish","type":"post","link":"https:\/\/hgpu.org\/?p=8388","title":{"rendered":"A short guide to CUDA C: For physicists with multi-core graphics cards"},"content":{"rendered":"<p>The purpose of this guide is to give a quick introduction to CUDA C, NVIDIA&#8217;s extension for the C programming language to allow running code parallely on graphics cards. Moreover, the technique is applied to problems in computational physics, namely the generation of random numbers and simulations of the q-state Potts model. If you seek a complete documentation with more profound information, please refer to the NVIDIA CUDA C Programming Guide [1]. CUDA is also available for Fortran. The following is based on version 4.2 of the CUDA toolkit. Newer versions will most probably be compatible to the methods and code shown here. It is assumed that you already have CUDA installed and running. For help, please refer to NVIDIA&#8217;s Getting Started Guide [2] for your operating system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purpose of this guide is to give a quick introduction to CUDA C, NVIDIA&#8217;s extension for the C programming language to allow running code parallely on graphics cards. Moreover, the technique is applied to problems in computational physics, namely the generation of random numbers and simulations of the q-state Potts model. If you seek [&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,89,3,12],"tags":[98,1782,14,20,1257,176,1783,199,102],"class_list":["post-8388","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-nvidia-cuda","category-paper","category-physics","tag-computational-physics","tag-computer-science","tag-cuda","tag-nvidia","tag-nvidia-quadro-nvs-3100-m","tag-package","tag-physics","tag-tesla-c1060","tag-tutorial"],"views":3279,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts\/8388","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=8388"}],"version-history":[{"count":1,"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts\/8388\/revisions"}],"predecessor-version":[{"id":10769,"href":"https:\/\/hgpu.org\/index.php?rest_route=\/wp\/v2\/posts\/8388\/revisions\/10769"}],"wp:attachment":[{"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hgpu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}