Coder Social home page Coder Social logo

jdanecki / fractalcl Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 4.9 MB

Discover and explore fractals world with OpenCL acceleration

License: GNU General Public License v3.0

CMake 1.06% Shell 0.29% C 95.41% Makefile 2.27% C++ 0.35% Python 0.61%
fractal fractals gpgpu gpu-acceleration opencl performance performance-testing sdl

fractalcl's Introduction

fractalcl's People

Contributors

jacekdanecki avatar jdanecki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fractalcl's Issues

fails when both GPU and CPU platforms exist

I have amd-opencl-icd installed from jessie-backports non-free section on my Debian Buster system so I can test OpenCL on my CPU (less risk of crashing with exceeded timeouts, etc). I also have the Mesa OpenCL driver for my GPU. The program aborts on startup, presumably because it wants a GPU from the second platform (which is CPU). There should ideally be a dialog to select the platform and device, and not absolutely require GPU because OpenCL can run fine on CPU too, though perhaps less fast. Here's the output from the program:

found 2 platforms
--- platform: Clover
GPU device: Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.16.0-2-amd64, LLVM 6.0.0)
MAX_COMPUTE_UNITS=36
MAX_WORKGROUP_SIZE=256
--- platform: AMD Accelerated Parallel Processing
OCL GPU device not found err=-1

And here are the first few lines from clinfo:

Number of platforms                               2
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 18.0.5
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (1912.5)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Extensions function suffix             AMD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.