MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: OpenCL

  • To: mathgroup at
  • Subject: [mg119942] Re: OpenCL
  • From: "Oleksandr Rasputinov" <oleksandr_rasputinov at>
  • Date: Thu, 30 Jun 2011 20:40:35 -0400 (EDT)
  • References: <iug5sm$9go$>


This problem occurs for two reasons, both due the renaming of the AMD
Stream SDK to the AMD APP SDK. The AMD Stream SDK 2.3 (distributed
with Catalyst 11.2) is, to my knowledge, the last one that will work
with Mathematica without any changes. However, if you wish to use a
newer version, the issues in question and their solutions are:

1. AMD changed the name of the environment variable ATISTREAMSDKROOT
    (which Mathematica looks for) to AMDAPPSDKROOT. To solve this, add
    a new environment variable ATISTREAMSDKROOT with value

2. AMD changed the name and location of the OpenCL DLL. It used to be
    %ATISTREAMSDKROOT%\bin\x86{_64}\atiocl{64}.dll, but now is
    %SYSTEMROOT%\system32\OpenCL.dll. Simply copy OpenCL.dll into the
    old location (and under the old name) to fix this problem.

After correcting these issues you should get OpenCLQ[] := True.

Incidentally, the AMD APP SDK does not appear to be needed for
Mathematica; only the APP SDK Runtime (which comes with ATI Catalyst)
is seemingly required for OpenCLLink to work.


O. R.

On Wed, 29 Jun 2011 22:36:22 +0100, Arthur Evans <24evansa at>  

> Has anybody got OpenCL working ? After a LOT of effort I had OpenCLQ[]
> return True on my system with Radeon 5850 / win7 64 / i7 with all the
> appropriate drivers and software (and was able to run several of the
> example notebooks), however after upgrading to 8.01 I get the
> following message "OpenCLMemoryAllocate::invdevnm: "OpenCL is not
> supported on device "ATI Radeon HD 5800 Series "". My friend with a
> Radeon HD 6800 Series receives a similar message. This is highly
> unfortunate for myself as I upgraded from v.7 specifically for this
> feature.
> I have actually made a complete fresh install of Windows 7 64bit,
> installed only Mathematica and the latest AMD Catalyst Driver (with
> APP), and the ATI Stream SDK, as suggested in Mathematica
> documentation, to no avail whatsoever. I cannot even manage to get
> OpenCLQ[] to return True. Yet it previously worked. Same situation
> with my friend.
> Anybody have any advice to offer?
> Best regards,
> Arthur

  • Prev by Date: Re: Reading Data Table
  • Next by Date: Re: Is the iterated continued fraction from convergents for Pi/2 equal to 3/2?
  • Previous by thread: Re: OpenCL
  • Next by thread: How substitute ToNumberField by LatticeReduce