How to recompile to support AMD OpenCL on Mac?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Posts: 1
Joined: Fri Jul 19, 2013 11:01 pm

How to recompile to support AMD OpenCL on Mac?

Postby Acrossfy » Fri Jul 19, 2013 11:31 pm

Hi, i have a AMD HD7950 GPU and I want use Cycles Render in OpenCL mode on my OS X system.
oclinfo shows following log:

Code: Select all

[Device 2]
   Name:          ATI Radeon HD 7950 Compute Engine
   Vendor:       AMD
   Type:          GPU
   Device Version:    OpenCL 1.1
   Driver Version:    1.0
   Compute Units:       32
   Work Group Size:    1024
   Clock:          1000 MHz
   Global Memory:       1536 MB
   Local Memory:       32 KB
   Cache Size:       0 KB
   Cache Line Size:    0 Bytes
   Available:       Yes
   Double-Precision:    No

But Blender can use only CPU mode. I heard i need to recompile Blender with edited kernel_types.h and device_opencl.cpp files. Are there any additional tips? What exactly i must edit?

Thanks in advance.

P.S. I'm programmer (but on Java)

Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 0 guests