"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Legends never die: GPUPI

mat 06.11.2014 - 01:52 409845 878 Thread rating
Posts

Paxi

Overclocking Team Member
Avatar
Registered: Oct 2009
Location: Wien
Posts: 389
Zitat von clauskadrnoschka
Heut abend wird ausprobiert; trotzdem schon eine Frage @mat: wie hast Du geprüft ob Dein Ergebnis richtig ist?

Würde mich auch interessieren :D Bzg generell wie der Kernel grob implementiert ist, wenn das kein Geheimniss ist. Source gibts ja keinen oder?

Lord Wyrm

topquote owner since '17
Avatar
Registered: Jan 2005
Location: wean
Posts: 1325
Error mit "MSVCP120.dll fehlt" auf Win7x64

Umlüx

Huge Metal Fan
Avatar
Registered: Jun 2001
Location: Kärnten
Posts: 8961
du brauchst anscheinend die visual c++ 2013 redist x86 am 64bit OS. damit startets bei mir.
http://www.microsoft.com/en-us/down...n.aspx?id=40784


app startet, aber:
Code:
Selected device: NVS 5100M
OpenCL 1.1 CUDA 4.2.1 is ready.

Compiling OpenCL kernels 
ERROR: Error happened during the build of OpenCL program.
Build log:
:11:10: fatal error: 'uint128.h' file not found
#include "uint128.h"
         ^

Crash Override

BOfH
Registered: Jun 2005
Location: Germany
Posts: 2951
Code:
Selected device:        Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
OpenCL 1.2  is ready.

Compiling OpenCL kernels
ERROR: Error happened during the build of OpenCL program.
Build log:
:11:10: fatal error: 'uint128.h' file not found
#include "uint128.h"
         ^

error: front end compiler failed build.

Code:
Selected device: Intel(R) HD Graphics 4000
OpenCL 1.2  is ready.

Compiling OpenCL kernels 
ERROR: Error happened during the build of OpenCL program.
Build log:
:11:10: fatal error: 'uint128.h' file not found
#include "uint128.h"
         ^

error: front end compiler failed build.

Scheint ein generellesa Problem zu sein.

erlgrey

formerly known as der~erl
Registered: Aug 2002
Location: Wien
Posts: 4428
auch bei 1.0.1

ERROR: No connected OpenCL devices found on this system!

R9 290, catalyst 14.9, Win7 x64

Umlüx

Huge Metal Fan
Avatar
Registered: Jun 2001
Location: Kärnten
Posts: 8961
das kommt davon wenn man software um 2 uhr nachts released
trink erstmal einen grooooßen kaffee, mat :D

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25420
Nein, das sind prinzipiell keine simplen Bugs, sondern Kompatibilitätsprobleme von OpenCL. Das liegt daran, dass OpenCL einen JIT-Compiler hat, der die Kernels on-the-fly auf dem System berechnet. Daher braucht man sehr viel Erfahrung, um die Kernel für alle System korrekt anzupassen. Dasselbe gilt leider auch für die Auswahl der Devices, die schon im Code sehr komplex ist.

Aber deshalb machen wir das ja gemeinsam. Wir schaffen das! :ghug:

BooTes

Octocat!
Avatar
Registered: Sep 2002
Location: St. Egyden
Posts: 1595
Code:
Selected device: GeForce GT 630
OpenCL 1.1 CUDA 6.5.19 is ready.

Compiling OpenCL kernels 
ERROR: Error happened during the build of OpenCL program.
Build log:
:11:10: fatal error: 'uint128.h' file not found
#include "uint128.h"
         ^

Denne

Here to stay
Avatar
Registered: Jan 2005
Location: Germany
Posts: 2801
Same here:

Code:
Selected device: GeForce GTX 770
OpenCL 1.1 CUDA 6.5.21 is ready.

Compiling OpenCL kernels 
ERROR: Error happened during the build of OpenCL program.
Build log:
:11:10: fatal error: 'uint128.h' file not found
#include "uint128.h"
         ^

Error404

Dry aged
Avatar
Registered: Mar 2006
Location: Kimosabe
Posts: 2969
Zitat von mat
Nein, das sind prinzipiell keine simplen Bugs, sondern Kompatibilitätsprobleme von OpenCL. Das liegt daran, dass OpenCL einen JIT-Compiler hat, der die Kernels on-the-fly auf dem System berechnet. Daher braucht man sehr viel Erfahrung, um die Kernel für alle System korrekt anzupassen. Dasselbe gilt leider auch für die Auswahl der Devices, die schon im Code sehr komplex ist.

Aber deshalb machen wir das ja gemeinsam. Wir schaffen das! :ghug:

Diesen? :D scnr

keyboard-smash-o_198167.gif

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25420
Wenn ich für jeden Absturz von Visual Studio 2013 einen Euro bekommen würde, hätte ich mittlerweile einen Butler daheim. :D

Btw, I'm on it. Die Header-Files werden in der Non-Debug-Version der exe künftig implizit in den Kernel-Source geladen. Dann sollte es problemlos funktionieren (für NVIDIA-Karten). AMD-Support kommt gleich danach. :)

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25420
Neue Version: 1.0.2

  • OpenCL 2.0 support - ist allerdings CPU only und wird von Intel selbst als "experimental" bezeichnet.
  • Implizite Kernel-Headers - nun sollte der Benchmark hoffentlich bei euch funktionieren. :)
  • Einge optische Bugfixes und ein paar zusätzliche Fehlermeldungen

Download: GPUPI Beta 1.0.2 (110 KB)

stevke

in the bin
Avatar
Registered: Sep 2001
Location: Wien
Posts: 3958
Wird womöglich an der HD 4000 liegen, oder?

Code:
Selected device: Intel(R) HD Graphics P4000
OpenCL 1.2 is ready.

Compiling OpenCL kernels 
ERROR: Error happened during the build of OpenCL program.
Build log:
:13:26: error: OpenCL extension 'cl_khr_fp64' is unsupported
#pragma OPENCL EXTENSION cl_khr_fp64: enable
                         ^
:15:8: error: unknown type name 'double2'; did you mean 'double'?
inline double2 make_double2(const double head, const double tail)
       ^~~~~~~
       double
:17:2: error: use of undeclared identifier 'double2'; did you mean 'double'?
        double2 z;
        ^~~~~~~
        double
:19:3: error: member reference base type 'double' is not a structure or union
        z.x = tail;
        ~^~
:20:3: error: member reference base type 'double' is not a structure or union
        z.y = head;
        ~^~
:32:1: error: unknown type name 'double2'; did you mean 'double'?
double2 add_double2(const double2 a, const double2 b)
^~~~~~~
double
:32:27: error: unknown type name 'double2'; did you mean 'double'?
double2 add_double2(const double2 a, const double2 b)
                          ^~~~~~~
                          double
:32:44: error: unknown type name 'double2'; did you mean 'double'?
double2 add_double2(const double2 a, const double2 b)
                                           ^~~~~~~
                                           double
:34:2: error: use of undeclared identifier 'double2'; did you mean 'double'?
        double2 z;
        ^~~~~~~
        double
:37:8: error: member reference base type 'const double' is not a structure or union
        t1 = a.y + b.y;
             ~^~
:37:14: error: member reference base type 'const double' is not a structure or union
        t1 = a.y + b.y;
                   ~^~
:38:13: error: member reference base type 'const double' is not a structure or union
        t2 = t1 - a.y;
                  ~^~
:39:9: error: member reference base type 'const double' is not a structure or union
        t3 = (a.y + (t2 - t1)) + (b.y - t2);
              ~^~
:39:29: error: member reference base type 'const double' is not a structure or union
        t3 = (a.y + (t2 - t1)) + (b.y - t2);
                                  ~^~
:40:8: error: member reference base type 'const double' is not a structure or union
        t4 = a.x + b.x;
             ~^~
:40:14: error: member reference base type 'const double' is not a structure or union
        t4 = a.x + b.x;
                   ~^~
:41:13: error: member reference base type 'const double' is not a structure or union
        t2 = t4 - a.x;
                  ~^~
:42:9: error: member reference base type 'const double' is not a structure or union
        t5 = (a.x + (t2 - t4)) + (b.x - t2);
              ~^~
:42:29: error: member reference base type 'const double' is not a structure or union
        t5 = (a.x + (t2 - t4)) + (b.x - t2);
                                  ~^~
:47:3: error: member reference base type 'double' is not a structure or union
        z.y = e = t4 + t3;
        ~^~
:48:3: error: member reference base type 'double' is not a structure or union
        z.x = (t4 - e) + t3;
        ~^~
:53:8: error: unknown type name 'double2'; did you mean 'double'?
inline double2 div_double2_nofma(const double a, const double b)
       ^~~~~~~
       double
:55:2: error: use of undeclared identifier 'double2'; did you mean 'double'?
        double2 t;
        ^~~~~~~
        double
:59:3: error: member reference base type 'double' is not a structure or union
        t.y = a * r;
        ~^~
:60:12: error: member reference base type 'double' is not a structure or union
        e = b * -t.y + a;
                 ~^~
:61:3: error: member reference base type 'double' is not a structure or union
        t.y = r * e + t.y;
        ~^~
:61:17: error: member reference base type 'double' is not a structure or union
        t.y = r * e + t.y;
                      ~^~
:62:3: error: member reference base type 'double' is not a structure or union
        t.x = b * -t.y + a;
        ~^~
:62:14: error: member reference base type 'double' is not a structure or union
        t.x = b * -t.y + a;
                   ~^~
:63:11: error: member reference base type 'double' is not 

Denne

Here to stay
Avatar
Registered: Jan 2005
Location: Germany
Posts: 2801
Code:
Selected device: GeForce GTX 770
OpenCL 1.1 CUDA 6.5.21 is ready.

Compiling OpenCL kernels ... done.

Calculating 1.000.000.000nth digit of PI. 20 iterations.

Allocated device memory : 671088640 Bytes
Batch Size              : 20M
Reduction Size          : 512

 00h 00m 00.194s Batch  1 finished.
 00h 00m 01.620s Batch  2 finished.
 00h 00m 03.027s Batch  3 finished.
 00h 00m 05.513s Batch  4 finished.
 00h 00m 11.081s Batch  5 finished.
 00h 00m 16.147s Batch  6 finished.
 00h 00m 17.571s Batch  7 finished.
 00h 00m 18.978s Batch  8 finished.
 00h 00m 21.463s Batch  9 finished.
 00h 00m 27.026s Batch 10 finished.
 00h 00m 32.090s Batch 11 finished.
 00h 00m 33.514s Batch 12 finished.
 00h 00m 34.921s Batch 13 finished.
 00h 00m 37.407s Batch 14 finished.
 00h 00m 42.974s Batch 15 finished.
 00h 00m 48.041s Batch 16 finished.
 00h 00m 49.465s Batch 17 finished.
 00h 00m 50.872s Batch 18 finished.
 00h 00m 53.356s Batch 19 finished.
 00h 00m 58.920s Batch 20 finished.
 00h 01m 03.838s PI value output -> 5895585A0

 GPU time for   pi calculation:  62.685 s
 GPU time for memory reduction:   1.153 s

Läuft :)

BooTes

Octocat!
Avatar
Registered: Sep 2002
Location: St. Egyden
Posts: 1595
Läuft bei mir nur bei 1M und 32M, darüber

Code:
Selected device: GeForce GT 630
OpenCL 1.1 CUDA 6.5.19 is ready.

Compiling OpenCL kernels ... done.

Calculating 100.000.000nth digit of PI. 20 iterations.

Allocated device memory : 671088640 Bytes
Batch Size              : 20M
Reduction Size          : 64


ERROR: OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE happened in file pi.cpp at line 553.
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz