mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2013-09-28, 04:31   #12
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

201278 Posts
Default

Quote:
Originally Posted by kracker View Post
I believe it relies on clinfo for device info, which probably is not there.

You could, I guess install the AMD APP SDK and see what it does.
I installed the AMD APP SDK. Clinfo finds both the Intel and Nvidia GPUs. mfakto fails with the same message.
Prime95 is offline   Reply With Quote
Old 2013-09-30, 00:55   #13
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

Tried mfakto on my Haswell without a NVidia card:

Code:
Select device - Error -1001 (Unkown errorcode): clGetPlatformsIDs(num)
init_CL(1, 0) failed
Prime95 is offline   Reply With Quote
Old 2013-09-30, 01:19   #14
Jayder
 
Jayder's Avatar
 
Dec 2012

32·31 Posts
Default

Is that with the special binary I mentioned or 0.13?
Jayder is offline   Reply With Quote
Old 2013-09-30, 01:32   #15
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

6BF16 Posts
Default

Ooooh unknown errors are the best.

Tell me how an error gets a code without a known cause. Lol.
TheMawn is offline   Reply With Quote
Old 2013-09-30, 22:21   #16
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3×199 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Tried mfakto on my Haswell without a NVidia card:

Code:
Select device - Error -1001 (Unkown errorcode): clGetPlatformsIDs(num)
init_CL(1, 0) failed
OK, let's try again, after we could not make it work on HD4000. Maybe Haswell changed the picture ... Please stick to version 0.13, I will provide special Intel-versions of 0.13 once I see what needs to be adapted.

Could you please post the complete clinfo output?

To make mfakto use a specific device, use the -d<x><y> switch. x is the platform number, y the device number. For a test, -d11, -d21, -d12 and -d22 should cover the usual configurations. By default, mfakto searches only for AMD devices ... so for Intel you definitely need -d.

Which version of Catalyst did you install?

@theMawn: -1001 is unknown to me and OpenCL. Probably some Intel-specific code and someone at Intel will know (lets hope for that).

Edit: clGetPlatformIDs is the very first OpenCL library call mfakto is doing. Most likely no OpenCL library could be located, i.e. no OpenCL runtime is available. It should be installed along with the vendor's driver - Intels GPU driver (or SDK) in this case. I think AMD Catalyst no longer installs its OCL libs if no AMD device is found.

Last fiddled with by Bdot on 2013-09-30 at 22:34
Bdot is offline   Reply With Quote
Old 2013-09-30, 22:37   #17
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

37×59 Posts
Default

I have 3 HD 2500's which supposedly have OpenCL 1.2. Count me in
kracker is offline   Reply With Quote
Old 2013-10-01, 00:39   #18
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

Quote:
Originally Posted by Bdot View Post
OK, let's try again.
Apparently, I screwed up the install on the machine without an Nvidia card -- clinfo does not run. Lets concentrate on the first Haswell box that has two GPUs.

clinfo output attached.
Attached Files
File Type: txt clinfo_output.txt (9.9 KB, 550 views)
Prime95 is offline   Reply With Quote
Old 2013-10-01, 00:43   #19
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Running without the -d switch crashes:

Code:
C:\Users\George\Desktop\mfakto-0.13win\mfakto-0.13win>mfakto_x64
mfakto 0.13-Win (64bit build)


Runtime options
  Inifile                   mfakto.ini
  Verbosity                 1
  SieveOnGPU                yes
  GPUSievePrimes            82486
  GPUSieveSize              64Mi bits
  GPUSieveProcessSize       16Ki bits
  WorkFile                  worktodo.txt
  ResultsFile               results.txt
  Checkpoints               enabled
  CheckpointDelay           300s
  Stages                    enabled
  StopAfterFactor           class
  PrintMode                 compact
  V5UserID                  none
  ComputerID                none
  TimeStampInResults        yes
  VectorSize                4
  GPUType                   AUTO
  SmallExp                  no
Compiletime options
  MORE_CLASSES              enabled
Select device - GPU not found, fallback to CPU.
Get device info - Compiling kernels.

OpenCL device info
  name                      Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz (GenuineInt
el)
  device (driver) version   OpenCL 1.2 AMD-APP (1214.3) (1214.3 (sse2,avx))
  maximum threads per block 1024
  maximum threads per grid  1073741824
  number of multiprocessors 4 (4 compute elements)
  clock rate                3400MHz

Automatic parameters
  threads per grid          2097152
  optimizing kernels for    CPU

running a simple selftest ...
########## testcase 4/17 (#30) ###########
C:\Users\George\Desktop\mfakto-0.13win\mfakto-0.13win>
Prime95 is offline   Reply With Quote
Old 2013-10-01, 00:49   #20
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

205716 Posts
Default

Executing with -d 1 fails with the same output.

Executing with -d 2:

Code:
Select device - GPU not found, fallback to CPU.
Error: Only 1 devices found. Cannot use device 2 (bad parameter to option -d).
init_CL(1, 2) failed

With -d 11:

Code:
Select device - GPU not found, fallback to CPU.
Get device info - Compiling kernels.
Error -43 (Invalid build options): clBuildProgram
init_CL(1, 11) failed

With -d 21:

Code:
Select device - Get device info - Compiling kernels.

        BUILD OUTPUT
Error in processing command line: Don't understand command line argument "-O3"!
        END OF BUILD OUTPUT
Error -11 (Build program failure): clBuildProgram
init_CL(1, 21) failed

C:\Users\George\Desktop\mfakto-0.13win\mfakto-0.13win>mfakto_x64  -d 21
Prime95 is offline   Reply With Quote
Old 2013-10-01, 18:21   #21
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

201278 Posts
Default

After downloading Intel's latest drivers and SDK for OpenCL, clinfo.exe output:
Attached Files
File Type: txt clinfo.txt (6.1 KB, 371 views)
Prime95 is offline   Reply With Quote
Old 2013-10-01, 18:31   #22
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Samples from the Intel OpenCL SDK

http://software.intel.com/en-us/arti...tting-started/
Prime95 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run my CPU's integrated GPU along with my discrete GPU? Red Raven GPU Computing 9 2014-10-24 02:01
New integrated CPU-GPU programming paradigm Dubslow GPU Computing 1 2012-02-15 08:45
Ivy Bridge integrated GPU? Dubslow GPU Computing 7 2011-11-18 23:36
Can I use integrated graphics alongside a GPU? mdettweiler GPU Computing 9 2010-09-15 19:41
turn off your integrated Snd card in CMOS nngs Hardware 0 2005-05-20 01:31

All times are UTC. The time now is 15:24.


Fri Jul 7 15:24:28 UTC 2023 up 323 days, 12:53, 0 users, load averages: 1.10, 1.08, 1.08

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔