Skip to content

kwonoh/OpenCL.uplugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCL Plugin for Unreal Engine 4

This plugin helps you to link OpenCL with your UE projects. It is easy to link with OpenCL on OS X because it's already installed as a global framework. But on windows it is not trivial. If you want to add/replace for other version or platform, you can replace the header files from the Khronos OpenCL Registry and add/replace the OpenCL.lib files in ThirdParty/OpenCL/Lib from OpenCL SDKs of the SDK providers (Intel/ATI/NVIDIA). The OpenCL.lib files help you to link with OpenCL.dll which installed on system with the drivers. (It is not recommended to link with OpenCL.dll directly.)

Supported Platform

Tested on Unreal Engine 4.7.6 in OS X, Windows on Intel CPU/GPU, NVIDIA GPU. I've tested on OS X 10.10.3 (Intel Ivy Bridge, GT 650M, GTX 980) and Windows 8.1. All suggestions for other platforms are welcome.

Known Issues

  • On windows, It's failed to run editor on Debug mode. (Development mode works well)

Installation

Windows

  1. Install NVIDIA Graphics Driver and Intel OpenCL runtime.
  2. Copy "OpenCL" folder to "Plugins" folder under your project directory.
  3. Add "OpenCL" under "PublicDependencyModuleNames" in your *.Build.cs file to include header files from your project.
  4. Include "OpenCL.h" in your source code.

OS X

  1. Copy "OpenCL" folder to "Plugins" folder under your project directory.
  2. Add "OpenCL" under "PublicDependencyModuleNames" in your *.Build.cs file to include header files from your project.
  3. Include "OpenCL.h" in your source code.

Screenshots

Windows

Log Screenshots on Windows

OS X

Log Screenshots on OS X

Legal info

Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere. Unreal® Engine, Copyright 1998 – 2014, Epic Games, Inc. All rights reserved.

Plugin is completely free and available under MIT open-source license.

About

OpenCL Plugin for Unreal Engine 4

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published