mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-10-01, 19:12   #23
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

37·59 Posts
Default

Looks like clinfo lists it now, maybe try fidding with -d again see if it picks it up?
kracker is offline   Reply With Quote
Old 2013-10-01, 22:47   #24
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Still no luck. I looked very briefly at the source code and the startup code is quite a bit different than the Intel sample source code. It would be sad if AMD and Intel require different startup code, but it would not surprise me.
Prime95 is offline   Reply With Quote
Old 2013-10-01, 23:14   #25
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3·199 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Still no luck. I looked very briefly at the source code and the startup code is quite a bit different than the Intel sample source code. It would be sad if AMD and Intel require different startup code, but it would not surprise me.
I'll have a look at the Intel examples, maybe I can spot some important difference. From your clinfo output, -d12 should be the option to use.

Edit: I checked "SimpleOptimizations". The very first OpenCL call it does, is clGetPlatformIDs - just like mfakto. But I see that you now got the first few self-tests running on your CPU device. This means that the OCL libs are found now. Still weird that it does not see device #2, which should be the GPU.

Do the Intel examples run on your GPU?

Last fiddled with by Bdot on 2013-10-01 at 23:39
Bdot is offline   Reply With Quote
Old 2013-10-02, 00:09   #26
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

827910 Posts
Default

Quote:
Originally Posted by Bdot View Post
Do the Intel examples run on your GPU?
I don't have a C compiler on this machine to build the Intel examples.
Prime95 is offline   Reply With Quote
Old 2013-10-02, 00:11   #27
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

Quote:
Originally Posted by Bdot View Post
From your clinfo output, -d12 should be the option to use.
I assume you are talking about the clinfo output after installing the Intel SDK.

Here is some output:

Code:
C:\Users\george\Desktop\mfakto-0.13win>mfakto_x64 -d 12
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 - Error: Only 1 devices found. Cannot use device 2 (bad parameter to option -d).
init_CL(1, 12) failed
Code:
C:\Users\george\Desktop\mfakto-0.13win>mfakto_x64 -d 11
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 - Get device info - Error -35 (Invalid queue properties): clCreateCommandQueue(dev#1)
init_CL(1, 11) failed
Prime95 is offline   Reply With Quote
Old 2013-10-02, 00:51   #28
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

218310 Posts
Default

My clinfo output:
Attached Files
File Type: txt clinfo.txt (9.4 KB, 504 views)
kracker is offline   Reply With Quote
Old 2013-10-02, 01:59   #29
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

88716 Posts
Default

Only useful output seems with -d 11
Code:
Error -35 (Invalid queue properties): clCreateCommandQueue(dev#1) 
init_CL(1, 11) failed
kracker is offline   Reply With Quote
Old 2013-10-02, 02:02   #30
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

This opencl benchmark works on my haswell:
http://compubench.com/result.jsp

That should be promising.

Last fiddled with by Prime95 on 2013-10-02 at 02:02
Prime95 is offline   Reply With Quote
Old 2013-10-03, 00:24   #31
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3·199 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This opencl benchmark works on my haswell:
http://compubench.com/result.jsp

That should be promising.
Indeed.

It seems mfakto now selects the proper device, but it does not support CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE.

Please try the attached version (with -d 11). Lets see what the next error is. If you run it with additional -v 2, then it will also print the device info.
Attached Files
File Type: zip mfakto.zip (345.9 KB, 332 views)

Last fiddled with by Bdot on 2013-10-03 at 00:26 Reason: -d 11
Bdot is offline   Reply With Quote
Old 2013-10-03, 00:56   #32
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

37×59 Posts
Default

-d 11 output. Hmm.
Attached Files
File Type: txt output.txt (102.0 KB, 547 views)
kracker is offline   Reply With Quote
Old 2013-10-03, 02:47   #33
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

My output matches kracker's.
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:21.


Fri Jul 7 15:21:54 UTC 2023 up 323 days, 12:50, 0 users, load averages: 1.13, 1.10, 1.10

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.

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