{"id":6137,"date":"2014-04-13T04:33:58","date_gmt":"2014-04-13T04:33:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/error-identifier-float3-is-undefined-when-running-oclnbody-demo-on-ati-card-collection-of-common-programming-errors\/"},"modified":"2014-04-13T04:33:58","modified_gmt":"2014-04-13T04:33:58","slug":"error-identifier-float3-is-undefined-when-running-oclnbody-demo-on-ati-card-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/error-identifier-float3-is-undefined-when-running-oclnbody-demo-on-ati-card-collection-of-common-programming-errors\/","title":{"rendered":"error: identifier &ldquo;float3&rdquo; is undefined; When running oclNbody demo on ATI card-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m trying to run NVidia&#8217;s OpenCL demo oclNbody.exe on ATI Radeo 4850 card and receive such errors:<\/p>\n<blockquote>\n<p>Build Log: C:\\DOCUME~1\\DIMEDR~1\\LOCALS~1\\Temp\\OCL27C.tmp.cl(33): error: identifier<\/p>\n<pre><code>      \"float3\" is undefined\n<\/code><\/pre>\n<p>REAL3 bodyBodyInteraction(REAL3 ai, REAL4 bi, REAL4 bj, REAL softeningSquared)<\/p>\n<p>^<\/p>\n<\/blockquote>\n<p>And so on for all REAL3 datatype using. I have seen the OpenCL specification 1.1 and it clearly says that float3 is supported. I&#8217;ve tried to change REAL3 with float3 with no luck. I have the latest drivers for my card. Using Windows XP SP3 OS<\/p>\n<p>How can I fix or work around this error?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to run NVidia&#8217;s OpenCL demo oclNbody.exe on ATI Radeo 4850 card and receive such errors: Build Log: C:\\DOCUME~1\\DIMEDR~1\\LOCALS~1\\Temp\\OCL27C.tmp.cl(33): error: identifier &#8220;float3&#8221; is undefined REAL3 bodyBodyInteraction(REAL3 ai, REAL4 bi, REAL4 bj, REAL softeningSquared) ^ And so on for all REAL3 datatype using. I have seen the OpenCL specification 1.1 and it clearly says that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6137","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6137"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6137\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}