Question on clfft

Message boards : Number crunching : Question on clfft
Message board moderation

To post messages, you must log in.

AuthorMessage
Alfred and Pauline
Volunteer tester

Send message
Joined: 13 Oct 99
Posts: 37
Credit: 24,345,691
RAC: 8,993
Canada
Message 1890895 - Posted: 20 Sep 2017, 10:56:43 UTC

Have parameters for _gr _lr _wg _ls _bn _cw

What is -tw. Always shows 0 (zero)
Have done search but no luck.
ID: 1890895 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 31103
Credit: 63,258,540
RAC: 25,216
Germany
Message 1890965 - Posted: 20 Sep 2017, 16:41:28 UTC - in response to Message 1890895.  

This class of options tunes oclFFT performance
-oclfft_tune_gr N : Global radix
-oclfft_tune_lr N : Local radix
-oclfft_tune_wg N : Workgroup size
-oclfft_tune_ls N : Max size of local memory FFT
-oclfft_tune_bn N : Number of local memory banks
-oclfft_tune_cw N : Memory coalesce width
With each crime and every kindness we birth our future.
ID: 1890965 · Report as offensive
Alfred and Pauline
Volunteer tester

Send message
Joined: 13 Oct 99
Posts: 37
Credit: 24,345,691
RAC: 8,993
Canada
Message 1891015 - Posted: 20 Sep 2017, 20:29:45 UTC

Appreciate the reply but the question was - what is -tw0 in the cl files that are generated.
ID: 1891015 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 4472
Credit: 277,594,554
RAC: 628,507
United States
Message 1891024 - Posted: 20 Sep 2017, 21:15:56 UTC - in response to Message 1891015.  

Appreciate the reply but the question was - what is -tw0 in the cl files that are generated.

Have no idea. That is a question for the author of the app, Raistmer.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1891024 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 31103
Credit: 63,258,540
RAC: 25,216
Germany
Message 1891036 - Posted: 20 Sep 2017, 22:02:58 UTC

Maybe if you would explain a little bit better i could help.
I don`t have anything in my cl compilation with tw.
With each crime and every kindness we birth our future.
ID: 1891036 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 4472
Credit: 277,594,554
RAC: 628,507
United States
Message 1891050 - Posted: 21 Sep 2017, 0:06:34 UTC - in response to Message 1891036.  
Last modified: 21 Sep 2017, 0:07:21 UTC

I believe he is referring to part of the clFFTplan filename automatically generated under the first compile. This is an example from one of my files.

MB_clFFTplan_GeForceGTX1070_524288_gr256_lr16_wg256_tw0_ls512_bn64_cw64_r3584.bin_37254
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1891050 · Report as offensive
Alfred and Pauline
Volunteer tester

Send message
Joined: 13 Oct 99
Posts: 37
Credit: 24,345,691
RAC: 8,993
Canada
Message 1891084 - Posted: 21 Sep 2017, 2:51:09 UTC - in response to Message 1891050.  
Last modified: 21 Sep 2017, 2:52:02 UTC

I believe he is referring to part of the clFFTplan filename automatically generated under the first compile. This is an example from one of my files.

MB_clFFTplan_GeForceGTX1070_524288_gr256_lr16_wg256_tw0_ls512_bn64_cw64_r3584.bin_37254


Yes that is the parameter that I wish to know more about since I cannot find any other reference to it.
As a retired engineer my questions are usually quite linear. This may have caused the confusion.
Would appreciate some information on - tw0 - if there is one.
ID: 1891084 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 4472
Credit: 277,594,554
RAC: 628,507
United States
Message 1891087 - Posted: 21 Sep 2017, 4:15:06 UTC - in response to Message 1891084.  

Again, only Raistmer knows since -tw0 is not one of the clFFT configuration parameters.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1891087 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 5980
Credit: 81,680,444
RAC: 19,718
Russia
Message 1891417 - Posted: 22 Sep 2017, 21:47:17 UTC - in response to Message 1891084.  

From app's code:
  sprintf(bin_file_name,"%s\\MB_clFFTplan_%s_%d_gr%d_lr%d_wg%d_tw%d_ls%d_bn%d_cw%d_r%d.bin",app_init_data.project_dir,dev_name,n.x,
569	                plan->max_global_radix,plan->max_radix,plan->max_work_item_per_workgroup,plan->twiddleMethod,
570	                plan->max_localmem_fft_size,plan->num_local_mem_banks,plan->min_mem_coalesce_width,APP_BUILD_NO);


So, plan->twiddleMethod.
And there is no user-exposed options for that.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1891417 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 4472
Credit: 277,594,554
RAC: 628,507
United States
Message 1891438 - Posted: 22 Sep 2017, 23:13:37 UTC - in response to Message 1891417.  

From app's code:
  sprintf(bin_file_name,"%s\\MB_clFFTplan_%s_%d_gr%d_lr%d_wg%d_tw%d_ls%d_bn%d_cw%d_r%d.bin",app_init_data.project_dir,dev_name,n.x,
569	                plan->max_global_radix,plan->max_radix,plan->max_work_item_per_workgroup,plan->twiddleMethod,
570	                plan->max_localmem_fft_size,plan->num_local_mem_banks,plan->min_mem_coalesce_width,APP_BUILD_NO);


So, plan->twiddleMethod.
And there is no user-exposed options for that.

Thanks for satisfying our curiosity, Raistmer. Wondered what it was all about and you cleared that up with the comment about no user-exposed option mentioned in the docs.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1891438 · Report as offensive
Alfred and Pauline
Volunteer tester

Send message
Joined: 13 Oct 99
Posts: 37
Credit: 24,345,691
RAC: 8,993
Canada
Message 1891465 - Posted: 23 Sep 2017, 1:37:01 UTC - in response to Message 1891417.  

From app's code:
  sprintf(bin_file_name,"%s\\MB_clFFTplan_%s_%d_gr%d_lr%d_wg%d_tw%d_ls%d_bn%d_cw%d_r%d.bin",app_init_data.project_dir,dev_name,n.x,
569	                plan->max_global_radix,plan->max_radix,plan->max_work_item_per_workgroup,plan->twiddleMethod,
570	                plan->max_localmem_fft_size,plan->num_local_mem_banks,plan->min_mem_coalesce_width,APP_BUILD_NO);


So, plan->twiddleMethod.
And there is no user-exposed options for that.


Thank You. Appreciate you taking time to reply.
So much to learn, so little time.
ID: 1891465 · Report as offensive

Message boards : Number crunching : Question on clfft


 
©2018 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.