Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3424

Re: OpenCL

From "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: OpenCL
Date 2011-07-01 00:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iuj55r$nnu$1@smc.vnet.net> (permalink)
References <iug5sm$9go$1@smc.vnet.net>

Show all headers | View raw


Arthur,

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
    %AMDAPPSDKROOT%.

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.

Best,

O. R.


On Wed, 29 Jun 2011 22:36:22 +0100, Arthur Evans <24evansa@gmail.com>  
wrote:

> 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

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

OpenCL Arthur Evans <24evansa@gmail.com> - 2011-06-29 21:36 +0000
  Re: OpenCL Yves Klett <yves.klett@googlemail.com> - 2011-07-01 00:40 +0000
  Re: OpenCL "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-07-01 00:42 +0000

csiph-web