app_config.xml file

User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#1 app_config.xml file

Post by Alez »

The app_config file to use. To do this, create an ASCII file app_config.xml in the project's directory.

<app_config>
<app>
<name>xansons_gpu</name>
<max_concurrent>4</max_concurrent>
<gpu_versions>
<gpu_usage>1.0</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
</app_config>
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#2 Re: app_config.xml file

Post by Alez »

You can use this one if you wish to change the default values for the MT application. Change the X to the values you wish.
max_concurrent = The maximum number of tasks of this application to run at a given time.
fraction_done_exact = if set, base estimates of remaining time solely on the fraction done reported by the app.
[<cmdline>--nthreads 7</cmdline>] = will use 7 threads, [<cmdline>--nthreads 2</cmdline>] = will use 2 threads etc.
max_concurrent = The maximum number of tasks of this application to run at a given time.

<app_config>
<app>
<name>xansons_gpu</name>
<max_concurrent>4</max_concurrent>
<fraction_done_exact/>
<gpu_versions>
<gpu_usage>1</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>

<app_version>
<app_name>xansons_cpu</app_name>
<plan_class>mt_windows</plan_class>
<avg_ncpus>X</avg_ncpus>
<cmdline>--nthreads X</cmdline>
</app_version>
<project_max_concurrent>X</project_max_concurrent>
</app_config>
Image
The best form of help from above is a sniper on the rooftop....
Post Reply Previous topicNext topic

Return to “XANSONS for COD”