Giter Site home page Giter Site logo

Comments (8)

ddobreff avatar ddobreff commented on August 29, 2024

I don't think you can do more than a few Sols with Intel's OpenCL...

from silentarmy.

individual-it avatar individual-it commented on August 29, 2024

would be still nice to try, even just to know beignet is working

from silentarmy.

mbevand avatar mbevand commented on August 29, 2024

I tried looking into this, installing beignet-opencl-icd on my Ubuntu 16.04 Core i5-6500 machine, but attempting a clGetDeviceIDs fails:

beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clGetDeviceIDs (-1)

So I can't debug. If you help me fix my issue, I'll help you fix yours :)

from silentarmy.

padrino121 avatar padrino121 commented on August 29, 2024

Mbevand, the deb provided by Ubuntu is outdated, I needed to compile from source to get something above I think v1.0 to get over that issue

from silentarmy.

individual-it avatar individual-it commented on August 29, 2024

I'm using the Tanglu distribution, which is mainly debian compatible. So I installed beignet 1.1.2 from jessie-backports
https://packages.debian.org/jessie-backports/beignet
But my CPU is also a different one: i5-4200U

from silentarmy.

asbachb avatar asbachb commented on August 29, 2024

I also have problems running silentarmy with beignet 1.2.1

[asbachb@mbpro11 ~]$ silentarmy --list
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
Devices on platform "Intel Gen OCL Driver":
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
  ID 0: Intel(R) HD Graphics Haswell Ultrabook GT3 reserved
Devices on platform "Intel(R) OpenCL":
  ID 1: Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
[asbachb@mbpro11 ~]$ 
[asbachb@mbpro11 silentarmy]$ sa-solver --nonces 100 -v -v
Solving default all-zero 140-byte header
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
Found 2 OpenCL platform(s)
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
Using GPU device ID 0
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
Building program
OpenCL build failed (-11). Build log follows:
input.cl:654:18: warning: initializing '__global uchar *' (aka '__global unsigned char *') with an expression of type '__global char *' converts between pointers to integer types with different sign
input.cl:787:37: warning: incompatible pointer types initializing '__global char *' with an expression of type '__global uint *' (aka '__global unsigned int *')
input.cl:787:53: warning: incompatible pointer types initializing '__global char *' with an expression of type '__global uint *' (aka '__global unsigned int *')
kernel_round0:(GBE): error: failed in Gen backend.

from silentarmy.

birdie-github avatar birdie-github commented on August 29, 2024

Beignet works perfectly here but you'll have to install the latest release of it (1.2.0).

Anyway, nheqminer_cpu_xenoncat will give you twice as many sol/s. Usual Intel's CPUs (non-Iris) have very weak OpenCL performance and I'm not sure that L4 cache in case of Iris really helps.

Also there's this bug: https://bugs.freedesktop.org/show_bug.cgi?id=98702

from silentarmy.

Kubuxu avatar Kubuxu commented on August 29, 2024

@birdie-github this is to be expected, xenocat miner is hand written in x86 ASM giving best possible performance.
By running SA on CPU you are compiling OpenCL to ASM. The OpenCL driver for CPU is mostly for evaluation and testing and not for running high performance computations.

from silentarmy.

Related Issues (20)

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.