Test of Cycles/OpenCL on CPU and OpenCL kernel fixes #33626

Closed
opened 2012-12-20 10:40:37 +01:00 by m · 10 comments

%%%This patch has three main goals:

  1. Enable OpenCL rendering on CPU for Cycles (device_opencl.cpp).

  2. Provide debug information about the OpenCL platform and devices. Could be helpful for understanding OpenCL problems (util_opencl.cpp).

  3. Fixes to the OpenCL kernel in order to make it compile on Mac platforms for CPU (kernel.cl, kernel_displace.h, kernel_types.h).
    NOTE: I have enabled kernel_ocl_shader in kernel.cl, even though it is not beeing called. It was done to test how the compilation would perform.

Patched againts revision 53178.

I am not sure if any of this is really intended for merging, but it can help someone trying to understand/debug OpenCL on his/her platform.

Regards,
migueletto%%%

%%%This patch has three main goals: 1) Enable OpenCL rendering on CPU for Cycles (device_opencl.cpp). 2) Provide debug information about the OpenCL platform and devices. Could be helpful for understanding OpenCL problems (util_opencl.cpp). 3) Fixes to the OpenCL kernel in order to make it compile on Mac platforms for CPU (kernel.cl, kernel_displace.h, kernel_types.h). NOTE: I have enabled kernel_ocl_shader in kernel.cl, even though it is not beeing called. It was done to test how the compilation would perform. Patched againts revision 53178. I am not sure if any of this is really intended for merging, but it can help someone trying to understand/debug OpenCL on his/her platform. Regards, migueletto%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Sergey Sharybin self-assigned this 2015-04-03 13:01:32 +02:00

There are some interesting areas in this patch which we can merge into master. Rest of the changes needs to be synchronized with the work happening in D1200.

Assigning to self and will do commits of safe parts of the patch.

There are some interesting areas in this patch which we can merge into master. Rest of the changes needs to be synchronized with the work happening in [D1200](https://archive.blender.org/developer/D1200). Assigning to self and will do commits of safe parts of the patch.

Added subscriber: @tyoc213

Added subscriber: @tyoc213
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Poke, are there still useful areas of this patch

Poke, are there still useful areas of this patch

@Blendify, it's might be, but for now we'd rather focus on fixing issues with the split kernel. I would also ask to leave priority triaging reports to developers, especially if it was explicitly set by a developer.

@Blendify, it's might be, but for now we'd rather focus on fixing issues with the split kernel. I would also ask to leave priority triaging reports to developers, especially if it was explicitly set by a developer.
Sergey Sharybin was unassigned by Aaron Carlisle 2017-03-14 15:40:31 +01:00
Mai Lavelle was assigned by Aaron Carlisle 2017-03-14 15:40:31 +01:00
Member

Might be nice to record more info into system-info output, but not sure theres anything else useful in this patch.

Might be nice to record more info into system-info output, but not sure theres anything else useful in this patch.

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Hi, thanks for your patch.

We are undergoing a Tracker Curfew where we are automatically closing old patches.

If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.

Hi, thanks for your patch. We are undergoing a [Tracker Curfew ](https://code.blender.org/?p=3861) where we are automatically closing old patches. If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#33626
No description provided.