mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-10-23, 04:43   #606
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by fivemack View Post
You're measuring the size of the memory required to write down the candidate number N; what's relevant for CUDALucas is the amount of memory required to perform an FFT-based multiply of numbers the size of N, which is a good deal bigger (firstly because you can only fit about eighteen bits of N into each 64-bit floating-point number, and secondly because the CUDA FFT uses a lot of scratch space to allow it to use hundreds of threads).
Ah, okay. Makes much more sense, especially the threadedness. Thanks.
Dubslow is offline   Reply With Quote
Old 2011-10-23, 13:07   #607
aaronhaviland
 
Jan 2011
Dudley, MA, USA

73 Posts
Default

Quote:
Originally Posted by Lorenzo View Post
All done works!

Code:
Iteration 10000 M( 290000033 )C, 0x9e2181b8405a2511, n = 16777216, CUDALucas v1.2
FFT size 16M!
Err, actually not: the cufft size is initialiased as only half of n:

Code:
cufftPlan1d(&plan, n/2, CUFFT_Z2Z, 1)
aaronhaviland is offline   Reply With Quote
Old 2011-10-23, 18:49   #608
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2×89 Posts
Default

Quote:
Originally Posted by aaronhaviland View Post
Err, actually not: the cufft size is initialiased as only half of n:

Code:
cufftPlan1d(&plan, n/2, CUFFT_Z2Z, 1)
Too bad.

Oops, i find in FAQ:
Code:
Exponents: 2<=Exponent< 151,150,000
Exponent< 39,800,00  2MB FFT size
Exponent< 79,600,00  4MB FFT size
Exponent<159,200,00  8MB FFT size
No more question
Lorenzo is offline   Reply With Quote
Old 2011-10-23, 20:09   #609
Brain
 
Brain's Avatar
 
Dec 2009
Peine, Germany

331 Posts
Default

Quote:
Originally Posted by Lorenzo View Post
No more question
No, there are still basic questions (for me):
1. what is the max expo possible? how much GPU memory is needed for each FFT size?
2. what are the fft size borders beyond 4m?
i only tried up to 4m on my own.

I will try later but anybody must already have tested it...

Last fiddled with by Brain on 2011-10-23 at 20:09
Brain is offline   Reply With Quote
Old 2011-10-25, 13:08   #610
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Hi ,aaronhaviland
Quote:
Originally Posted by aaronhaviland View Post
Err, actually not: the cufft size is initialiased as only half of n:

Code:
cufftPlan1d(&plan, n/2, CUFFT_Z2Z, 1)
GIMPS(Prime95,GIMPS Web,MLucas,GLucas,...) use real data size.
msft is offline   Reply With Quote
Old 2011-10-26, 23:22   #611
aaronhaviland
 
Jan 2011
Dudley, MA, USA

1118 Posts
Default

Quote:
Originally Posted by msft View Post
Hi ,aaronhaviland

GIMPS(Prime95,GIMPS Web,MLucas,GLucas,...) use real data size.
Right, but I thought the question was about the limitations of CUFFT's transform sizes.
aaronhaviland is offline   Reply With Quote
Old 2011-10-27, 03:17   #612
msft
 
msft's Avatar
 
Jul 2009
Tokyo

61010 Posts
Default

Quote:
Originally Posted by aaronhaviland View Post
Right, but I thought the question was about the limitations of CUFFT's transform sizes.
NVIDIA not announce CUFFT's work area size and limitations ,we can only do the experiments.
msft is offline   Reply With Quote
Old 2011-11-02, 20:33   #613
Wizzard
 
Feb 2011
Bratislava

33 Posts
Default

Sorry people, want try CUDALucas too, I downloaded CUDALucas.1.2b.zip, extracted, installed CUDA Toolkit 3.0 from nvidia website, wanted to compile CUDALucas using make and got an error: CUDALucas.cu:87:26: fatal error: cutil_inline.h: Directory or file does not exist. What is wrong? Do I need some CUDA patch? Which one? I am lost... I am using Ubuntu64 on Core2 Duo and GTS250.
Wizzard is offline   Reply With Quote
Old 2011-11-02, 22:05   #614
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Check your Toolkit version. I'm pretty sure the current release is either 4.1 or 4.2. There's also some instructions you have to follow during installation regarding various *PATH variables.
Dubslow is offline   Reply With Quote
Old 2011-11-02, 22:48   #615
Wizzard
 
Feb 2011
Bratislava

2710 Posts
Default

Okay, I replaced Toolkit with version 4.0, downloaded also GPU Computing SDK. Now I moved a little farther, and stopped at the error:

gcc: setup.cu: Directory or file does not exist
gcc: warning: '-x c++' after last input file has no effect
gcc: no input files
make: *** [setup.o] Error 1
Wizzard is offline   Reply With Quote
Old 2011-11-02, 23:56   #616
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Unless CUDA threw an error about the gcc version being >4.5, I can't help. Sorry.
Dubslow is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't DC/LL them with CudaLucas LaurV Data 131 2017-05-02 18:41
CUDALucas / cuFFT Performance on CUDA 7 / 7.5 / 8 Brain GPU Computing 13 2016-02-19 15:53
CUDALucas: which binary to use? Karl M Johnson GPU Computing 15 2015-10-13 04:44
settings for cudaLucas fairsky GPU Computing 11 2013-11-03 02:08
Trying to run CUDALucas on Windows 8 CP Rodrigo GPU Computing 12 2012-03-07 23:20

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


Fri Jul 7 15:16:22 UTC 2023 up 323 days, 12:44, 0 users, load averages: 0.76, 1.11, 1.12

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.

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