{"id":29,"date":"2009-12-08T14:41:25","date_gmt":"2009-12-08T14:41:25","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/gpgpu\/?p=29"},"modified":"2009-12-08T14:41:25","modified_gmt":"2009-12-08T14:41:25","slug":"no-gpgpu","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/gpgpu\/2009\/12\/08\/no-gpgpu\/","title":{"rendered":"No GPGPU?"},"content":{"rendered":"<p>My modification of the NVidia Device Query program also compiles on a MacMini running Snow Leopard (Mac OS 10.6), which has OpenCL built in. This time, it reports that there is a twin core CPU, but no GPU. The program can be compiled with Xcode, or use the Linux Makefile, but without defining INCLUDEDIR or LIBDIR and simply setting:<\/p>\n<p>CC = g++<br \/>\nCFLAGS = -c -Wall<br \/>\nLDFLAGS =\u00a0 -framework OpenCL<\/p>\n<p>I also have a Linux box running OpenSuse. Again no GPU. I Installed the AMD drivers (I&#8217;m not sure whether this is necessary) and the SDK. This time the twin processor Core 2 was reported and no GPU. I would expect this.<\/p>\n<p>So, why isn&#8217;t the CPU reported on the other machines?<\/p>\n<p>First, the NVidia documentation makes no reference to the CPU, so it just isn&#8217;t supported. The list of supported devices on the AMD page includes:<\/p>\n<p>X86 CPU w\/ <strong>SSE 3.x<\/strong> or later<\/p>\n<p>The FireStream card is in a box with Opterons of 2005 vintage. They don&#8217;t have SSE3. I don&#8217;t see this as a reason not to support OpenCL, however.<\/p>\n<p>The next experiment was to run HelloCL on the basic Linux box. This has a simple switch: gpu = 1 or 0. If set to 0, the program attempts to run on the CPU. As there&#8217;s no gpu, the program fails with gpu=1. It runs with gpu=0. In other words, hello.cl is being compiled and run on the host CPU. I&#8217;m not yet clear whether it is being directly compiled or whether there is a virtual machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My modification of the NVidia Device Query program also compiles on a MacMini running Snow Leopard (Mac OS 10.6), which has OpenCL built in. This time, it reports that there is a twin core CPU, but no GPU. The program can be compiled with Xcode, or use the Linux Makefile, but without defining INCLUDEDIR or [&hellip;]<\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":2,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/posts\/29\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/gpgpu\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}