LuxRender ATISTREAMSDKROOT (Windows)

Discussion and help for Compilation problems and platform portability.

Moderator: coordinators

LuxRender ATISTREAMSDKROOT (Windows)

Postby helloworld922 » Mon Sep 06, 2010 1:55 pm

I updated to the latest src and it looks like there's been quite a few changes to integrate OpenCL/CUDA into LuxRender.

I did notice that there was a hard-coded path put in for the ATI Stream SDK, though.

Just to let you know that when you install the ATI Stream SDK, it will create an environment variable named ATISTREAMSDKROOT.

This should make it easier for users to compile LuxRender (particularly because the current location isn't at the default directory where the ATI Stream SDK installs).

OpenCL Includes location:

$(ATISTREAMSDKROOT)include

OpenCL lib directories:
(32 bit)
$(ATISTREAMSDKROOT)lib/x86
(64 bit)
$(ATISTREAMSDKROOT)lib/x86_64

I wouldn't be surprised if NVidia's CUDA SDK had something similar, too.
helloworld922
 
Posts: 57
Joined: Sat Jul 10, 2010 12:21 pm

Re: LuxRender ATISTREAMSDKROOT (Windows)

Postby dougal2 » Mon Sep 06, 2010 2:11 pm

Thanks, I've just spotted this and have added it to the build configs.

NVIDIA's CUDA toolkit does have similar vars, but compilation with it is more involved because they don't ship the OpenCL C++ wrapper that luxrays uses, but ATI stream does.
So far, I've noticed that using ATI stream SDK produces binaries that work with NVIDIA cards anyway (despite their warning), so for now it is easier to use it over the CUDA toolkit.

Indeed there have been big changes to the windows project layout, and I'm just finalising now a few settings to enable everything to build cleanly.
User avatar
dougal2
Developer
 
Posts: 3074
Joined: Mon Jan 14, 2008 7:21 am


Return to Compilation & Portability

Who is online

Users browsing this forum: No registered users and 0 guests