Line-break fixes.

This commit is contained in:
Eric J Korpela 2014-06-20 07:54:46 -07:00
parent ce37b73fc4
commit e5dddf0b04
8 changed files with 653 additions and 653 deletions

View File

@ -1,3 +1,3 @@
<ss_config>
<default_ss_first>1</default_ss_first>
</ss_config>
<ss_config>
<default_ss_first>1</default_ss_first>
</ss_config>

View File

@ -1,5 +1,5 @@
<account>
<master_url>http://www.worldcommunitygrid.org/</master_url>
<authenticator></authenticator>
<project_name>World Community Grid</project_name>
</account>
<account>
<master_url>http://www.worldcommunitygrid.org/</master_url>
<authenticator></authenticator>
<project_name>World Community Grid</project_name>
</account>

View File

@ -1,9 +1,9 @@
<cc_config>
<log_flags>
</log_flags>
<options>
<client_download_url>http://www.worldcommunitygrid.org/reg/ms/viewDownloadAgain.do</client_download_url>
<client_version_check_url>http://www.worldcommunitygrid.org/download_all.php?xml=1</client_version_check_url>
<network_test_url>http://www.ibm.com</network_test_url>
</options>
<cc_config>
<log_flags>
</log_flags>
<options>
<client_download_url>http://www.worldcommunitygrid.org/reg/ms/viewDownloadAgain.do</client_download_url>
<client_version_check_url>http://www.worldcommunitygrid.org/download_all.php?xml=1</client_version_check_url>
<network_test_url>http://www.ibm.com</network_test_url>
</options>
</cc_config>

View File

@ -1,4 +1,4 @@
<account>
<master_url>http://www.worldcommunitygrid.org/</master_url>
<authenticator></authenticator>
</account>
<account>
<master_url>http://www.worldcommunitygrid.org/</master_url>
<authenticator></authenticator>
</account>

View File

@ -1,12 +1,12 @@
<cc_config>
<log_flags>
</log_flags>
<options>
<disallow_attach>0</disallow_attach>
<dont_contact_ref_site>1</dont_contact_ref_site>
<simple_gui_only>0</simple_gui_only>
<report_results_immediately>1</report_results_immediately>
</options>
</cc_config>
<!-- View http://boinc.berkeley.edu/trac/wiki/ClientMessages for more options
<cc_config>
<log_flags>
</log_flags>
<options>
<disallow_attach>0</disallow_attach>
<dont_contact_ref_site>1</dont_contact_ref_site>
<simple_gui_only>0</simple_gui_only>
<report_results_immediately>1</report_results_immediately>
</options>
</cc_config>
<!-- View http://boinc.berkeley.edu/trac/wiki/ClientMessages for more options
and information about this file -->

View File

@ -1,152 +1,152 @@
//
// IIIIIII SSSSSS
// II SS InstallShield (R)
// II SSSSSS (c) 1996-2002, InstallShield Software Corporation
// II SS All rights reserved.
// IIIIIII SSSSSS
//
//
// This template script provides the code necessary to build an entry-point
// function to be called in an InstallScript custom action.
// Two major functions:
// CheckUnitedDevices: Check whether there is a previous World Community Agent ( United Devices)
// DeleteUnitedDevices: Delete United Devices
//
//
// File Name: Setup.rul
//
// Description: InstallShield script
//
////////////////////////////////////////////////////////////////////////////////
// Include Ifx.h for built-in InstallScript function prototypes, for Windows
// Installer API function prototypes and constants, and to declare code for
// the OnBegin and OnEnd events.
#include "ifx.h"
//including constants
#include "constants.rul"
// Include header file for built-in functions
#include "isrt.h"
// Include header file for MSI API functions and constants
#include "iswi.h"
// The keyword export identifies the function as an entry-point function.
// The argument it accepts must be a handle to the Installer database.
export prototype DeleteUnitedDevices(HWND);
export prototype CheckUnitedDevices(HWND);
// To Do: Declare global variables, define constants, and prototype user-
// defined and DLL functions here.
// To Do: Create a custom action for this entry-point function:
// 1. Right-click on "Custom Actions" in the Sequences/Actions view.
// 2. Select "Custom Action Wizard" from the context menu.
// 3. Proceed through the wizard and give the custom action a unique name.
// 4. Select "Run InstallScript code" for the custom action type, and in
// the next panel select "DeleteUnitedDevices" (or the new name of the entry-
// point function) for the source.
// 5. Click Next, accepting the default selections until the wizard
// creates the custom action.
//
// Once you have made a custom action, you must execute it in your setup by
// inserting it into a sequence or making it the result of a dialog's
// control event.
///////////////////////////////////////////////////////////////////////////////
//
// Function: DeleteUnitedDevices
//
// Purpose: This function will be called by the script engine when
// Windows(TM) Installer executes your custom action (see the "To
// Do," above).
// This Script is used to delete United Devices
//
///////////////////////////////////////////////////////////////////////////////
function DeleteUnitedDevices(hMSI)
// To Do: Declare local variables.
STRING svName;
NUMBER nvSize;
begin
// MsiSetProperty(hMSI, "UDProcess", "NotDoneUD");
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
// Script that will be executed when DeleteUnitedDevices is called.
////////////////////////////////////////////////////////////////////////////////
nvSize = 256;
// if (RegDBKeyExist (WCG_UD_KEY) < 0) then
// MessageBox (NO_UD_MSG+"ininstallscriptsetup", SEVERE);
// else
// LaunchApp(KILL_UD_PROCESS, KILL_UD_PROCESS_PARAM);
if (LaunchAppAndWait ("MsiExec.exe ", UD_UNINSTALL_PARAM,LAAW_OPTION_WAIT) < 0) then
MessageBox (UD_UNABLE_UNINSTALL_MSG, SEVERE);
else
MsiSetProperty(hMSI, "UDAVAILABLE", "No");
endif;
// endif;
// MsiSetProperty(hMSI, "UDProcess", "DoneUD");
// MsiGetProperty(hMSI, "UDProcess",svName, nvSize);
// MessageBox ("the value of the UDPRocess in checkud function is "+svName+" for testing", INFORMATION);
end;
// To Do: Create a custom action for this entry-point function:
// 1. Right-click on "Custom Actions" in the Sequences/Actions view.
// 2. Select "Custom Action Wizard" from the context menu.
// 3. Proceed through the wizard and give the custom action a unique name.
// 4. Select "Run InstallScript code" for the custom action type, and in
// the next panel select "checkUnitedDevices" (or the new name of the entry-
// point function) for the source.
// 5. Click Next, accepting the default selections until the wizard
// creates the custom action.
//
// Once you have made a custom action, you must execute it in your setup by
// inserting it into a sequence or making it the result of a dialog's
// control event.
///////////////////////////////////////////////////////////////////////////////
//
// Function: CheckUnitedDevices
//
// Purpose: This function will be called by the script engine when
// Windows(TM) Installer executes your custom action (see the "To
// Do," above).
// This Script is used to check whether United Devices is present
//
//////////////////////////////////////////////////////////////////////////////
function CheckUnitedDevices(hMSI)
// To Do: Declare local variables.
STRING svName1;
NUMBER nvSize;
begin
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
nvSize = 256;
// Script that will be executed when CheckUnitedDevices is called.
////////////////////////////////////////////////////////////////////////////////
MsiSetProperty(hMSI, "UDAVAILABLE", "dontknow");
if (RegDBKeyExist (WCG_UD_KEY) < 0) then
// MessageBox (NO_UD_MSG, SEVERE);
MsiSetProperty(hMSI, "UDAVAILABLE", "No");
else
MsiSetProperty(hMSI, "UDAVAILABLE", "Yes");
endif;
MsiGetProperty(hMSI, "UDAVAILABLE",svName1, nvSize);
//MessageBox ("the value of the CheckedUD is "+svName1+" for testing", INFORMATION);
// MsiSetProperty(hMSI, "UDProcess", "DoneUD");
// MsiGetProperty(hMSI, "UDProcess",svName1, nvSize);
// MessageBox ("the value of the UDPRocess in checkud function is "+svName1+" for testing", INFORMATION);
end;
//
// IIIIIII SSSSSS
// II SS InstallShield (R)
// II SSSSSS (c) 1996-2002, InstallShield Software Corporation
// II SS All rights reserved.
// IIIIIII SSSSSS
//
//
// This template script provides the code necessary to build an entry-point
// function to be called in an InstallScript custom action.
// Two major functions:
// CheckUnitedDevices: Check whether there is a previous World Community Agent ( United Devices)
// DeleteUnitedDevices: Delete United Devices
//
//
// File Name: Setup.rul
//
// Description: InstallShield script
//
////////////////////////////////////////////////////////////////////////////////
// Include Ifx.h for built-in InstallScript function prototypes, for Windows
// Installer API function prototypes and constants, and to declare code for
// the OnBegin and OnEnd events.
#include "ifx.h"
//including constants
#include "constants.rul"
// Include header file for built-in functions
#include "isrt.h"
// Include header file for MSI API functions and constants
#include "iswi.h"
// The keyword export identifies the function as an entry-point function.
// The argument it accepts must be a handle to the Installer database.
export prototype DeleteUnitedDevices(HWND);
export prototype CheckUnitedDevices(HWND);
// To Do: Declare global variables, define constants, and prototype user-
// defined and DLL functions here.
// To Do: Create a custom action for this entry-point function:
// 1. Right-click on "Custom Actions" in the Sequences/Actions view.
// 2. Select "Custom Action Wizard" from the context menu.
// 3. Proceed through the wizard and give the custom action a unique name.
// 4. Select "Run InstallScript code" for the custom action type, and in
// the next panel select "DeleteUnitedDevices" (or the new name of the entry-
// point function) for the source.
// 5. Click Next, accepting the default selections until the wizard
// creates the custom action.
//
// Once you have made a custom action, you must execute it in your setup by
// inserting it into a sequence or making it the result of a dialog's
// control event.
///////////////////////////////////////////////////////////////////////////////
//
// Function: DeleteUnitedDevices
//
// Purpose: This function will be called by the script engine when
// Windows(TM) Installer executes your custom action (see the "To
// Do," above).
// This Script is used to delete United Devices
//
///////////////////////////////////////////////////////////////////////////////
function DeleteUnitedDevices(hMSI)
// To Do: Declare local variables.
STRING svName;
NUMBER nvSize;
begin
// MsiSetProperty(hMSI, "UDProcess", "NotDoneUD");
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
// Script that will be executed when DeleteUnitedDevices is called.
////////////////////////////////////////////////////////////////////////////////
nvSize = 256;
// if (RegDBKeyExist (WCG_UD_KEY) < 0) then
// MessageBox (NO_UD_MSG+"ininstallscriptsetup", SEVERE);
// else
// LaunchApp(KILL_UD_PROCESS, KILL_UD_PROCESS_PARAM);
if (LaunchAppAndWait ("MsiExec.exe ", UD_UNINSTALL_PARAM,LAAW_OPTION_WAIT) < 0) then
MessageBox (UD_UNABLE_UNINSTALL_MSG, SEVERE);
else
MsiSetProperty(hMSI, "UDAVAILABLE", "No");
endif;
// endif;
// MsiSetProperty(hMSI, "UDProcess", "DoneUD");
// MsiGetProperty(hMSI, "UDProcess",svName, nvSize);
// MessageBox ("the value of the UDPRocess in checkud function is "+svName+" for testing", INFORMATION);
end;
// To Do: Create a custom action for this entry-point function:
// 1. Right-click on "Custom Actions" in the Sequences/Actions view.
// 2. Select "Custom Action Wizard" from the context menu.
// 3. Proceed through the wizard and give the custom action a unique name.
// 4. Select "Run InstallScript code" for the custom action type, and in
// the next panel select "checkUnitedDevices" (or the new name of the entry-
// point function) for the source.
// 5. Click Next, accepting the default selections until the wizard
// creates the custom action.
//
// Once you have made a custom action, you must execute it in your setup by
// inserting it into a sequence or making it the result of a dialog's
// control event.
///////////////////////////////////////////////////////////////////////////////
//
// Function: CheckUnitedDevices
//
// Purpose: This function will be called by the script engine when
// Windows(TM) Installer executes your custom action (see the "To
// Do," above).
// This Script is used to check whether United Devices is present
//
//////////////////////////////////////////////////////////////////////////////
function CheckUnitedDevices(hMSI)
// To Do: Declare local variables.
STRING svName1;
NUMBER nvSize;
begin
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
nvSize = 256;
// Script that will be executed when CheckUnitedDevices is called.
////////////////////////////////////////////////////////////////////////////////
MsiSetProperty(hMSI, "UDAVAILABLE", "dontknow");
if (RegDBKeyExist (WCG_UD_KEY) < 0) then
// MessageBox (NO_UD_MSG, SEVERE);
MsiSetProperty(hMSI, "UDAVAILABLE", "No");
else
MsiSetProperty(hMSI, "UDAVAILABLE", "Yes");
endif;
MsiGetProperty(hMSI, "UDAVAILABLE",svName1, nvSize);
//MessageBox ("the value of the CheckedUD is "+svName1+" for testing", INFORMATION);
// MsiSetProperty(hMSI, "UDProcess", "DoneUD");
// MsiGetProperty(hMSI, "UDProcess",svName1, nvSize);
// MessageBox ("the value of the UDPRocess in checkud function is "+svName1+" for testing", INFORMATION);
end;

View File

@ -1,17 +1,17 @@
#define TITLE_TEXT "RegDBKeyExist"
#define NO_UD_MSG "cool UD Doesn't exist"
// #define UD_ASK_UNISTALL "There is Previous World Community Group Agent(United Devices) on your pc , it is highly recommended to delete it before installing the Latest BOINC Client, click on yes if you want to remove it"
#define UD_UNABLE_UNINSTALL_MSG "Unable to unistall UD"
#define KILL_UD_PROCESS "taskkill"
#define KILL_UD_PROCESS_PARAM "/t /f /im UD.exe"
#define WCG_UD_GID "{3CEA3FEC-1AF5-4818-89D5-406F627E7337}"
// The SUB KEY PATH OF UD SOFTWARE
#define WCG_UD_KEY_PATH "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\"
// The SUB KEY PATH INCLUDING THE GID OF UD SOFTWARE
#define WCG_UD_KEY WCG_UD_KEY_PATH+WCG_UD_GID
//THE CMD LINE PARAM FOR UNINSTALLING UD
#define TITLE_TEXT "RegDBKeyExist"
#define NO_UD_MSG "cool UD Doesn't exist"
// #define UD_ASK_UNISTALL "There is Previous World Community Group Agent(United Devices) on your pc , it is highly recommended to delete it before installing the Latest BOINC Client, click on yes if you want to remove it"
#define UD_UNABLE_UNINSTALL_MSG "Unable to unistall UD"
#define KILL_UD_PROCESS "taskkill"
#define KILL_UD_PROCESS_PARAM "/t /f /im UD.exe"
#define WCG_UD_GID "{3CEA3FEC-1AF5-4818-89D5-406F627E7337}"
// The SUB KEY PATH OF UD SOFTWARE
#define WCG_UD_KEY_PATH "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\"
// The SUB KEY PATH INCLUDING THE GID OF UD SOFTWARE
#define WCG_UD_KEY WCG_UD_KEY_PATH+WCG_UD_GID
//THE CMD LINE PARAM FOR UNINSTALLING UD
#define UD_UNINSTALL_PARAM "/quiet /X"+WCG_UD_GID

View File

@ -1,455 +1,455 @@
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="CUDA Build Rule v3.0.14"
Version="8.00"
>
<Rules>
<CustomBuildRule
Name="CUDA Build Rule"
DisplayName="CUDA Build Rule v3.0.14"
CommandLine="echo [CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] -ccbin &quot;$(VCInstallDir)bin&quot; [Emulation] [Debug] [FastMath] [Defines] -I&quot;$(CUDA_INC_PATH)&quot; [Include] -Xcompiler &quot;/EHsc [Warning] /nologo [Optimization] /Zi [RuntimeChecks] [Runtime] [TypeInfo] [ExtraCppOptions]&quot; [MaxRegCount] [PtxAsOptionV] [Arch1] [Arch2] [Arch3] [NvccCompilation] &quot;$(InputPath)&quot; &#x0D;&#x0A; [CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] [Arch1] [Arch2] [Arch3] -ccbin &quot;$(VCInstallDir)bin&quot; [Emulation] [Debug] [FastMath] [Defines] -I&quot;$(CUDA_INC_PATH)&quot; [Include] -Xcompiler &quot;/EHsc [Warning] /nologo [Optimization] /Zi [RuntimeChecks] [Runtime] [TypeInfo] [ExtraCppOptions]&quot; [Include] [MaxRegCount] [ptxasoptionv] [Arch1] [Arch2] [Arch3] [NvccCompilation] &quot;$(InputPath)&quot;"
Outputs="[compileout]"
AdditionalDependencies="[AddedDependencies]"
FileExtensions="*.cu"
ExecutionDescription="Compiling with CUDA Build Rule..."
>
<Properties>
<StringProperty
Name="Include"
DisplayName="Additional Include Directories"
Description="Specifies one or more directories to add to the include path; use semi-colon delimited list if more than one. (/I[path])"
Switch="-I&quot;[value]&quot;"
DefaultValue="&quot;$(CUDA_INC_PATH)&quot;"
Inheritable="true"
Delimited="true"
Delimiters=";"
/>
<BooleanProperty
Name="Debug"
DisplayName="Generate Debug Information"
Description="Specifies whether debugging with Nexus support is generated by the CUDA compiler. (-D_DEBUG -D_WIN32)"
Switch="-D_DEBUG -D_WIN32"
/>
<EnumProperty
Name="NvccCompilation"
DisplayName="NVCC Compilation Type"
Description="Select desired output of NVCC compilation (-c/-compile, -cuda, -gpu, -cubin, -ptx)"
>
<Values>
<EnumValue
Value="0"
Switch="--compile -o &quot;$(IntDir)\$(InputName).cu.obj&quot;"
DisplayName="Generate hybrid object file (--compile / -c)"
/>
<EnumValue
Value="1"
Switch="-cuda -o &quot;$(IntDir)\$(InputName).cu.c&quot;"
DisplayName="Generate hybrid .c file (-cuda)"
/>
<EnumValue
Value="2"
Switch="-gpu -o &quot;$(IntDir)\$(InputName).gpu&quot;"
DisplayName="Generate .gpu file (-gpu)"
/>
<EnumValue
Value="3"
Switch="-cubin -o &quot;data\$(InputName).cubin&quot;"
DisplayName="Generate .cubin file (-cubin)"
/>
<EnumValue
Value="4"
Switch="-ptx -o &quot;data\$(InputName).ptx&quot;"
DisplayName="Generate .ptx file (-ptx)"
/>
<EnumValue
Value="5"
Switch="-cubin -o &quot;[OutputFile].cubin&quot;"
DisplayName="Custom CUBIN Filename"
/>
<EnumValue
Value="6"
Switch="-ptx -o &quot;[OutputFile].ptx&quot;"
DisplayName="Custom PTX Filename"
/>
</Values>
</EnumProperty>
<StringProperty
Name="OutputFile"
DisplayName="Compiler Output Filename"
Switch="[value]"
/>
<EnumProperty
Name="compileout"
DisplayName="Compiler Output (obj/cubin/ptx)"
Description="Sets output as an OBJ, CUBIN, or PTX file"
>
<Values>
<EnumValue
Value="0"
Switch="&quot;$(IntDir)/$(InputName).cu.obj&quot;"
DisplayName="&quot;$(IntDir)/$(InputName).cu.obj&quot;"
/>
<EnumValue
Value="1"
Switch="&quot;data/$(InputName).cubin&quot;"
DisplayName="&quot;data/$(InputName).cubin&quot;"
/>
<EnumValue
Value="2"
Switch="&quot;data/$(InputName).ptx&quot;"
DisplayName="&quot;data/$(InputName).ptx&quot;"
/>
</Values>
</EnumProperty>
<StringProperty
Name="OverrideCompileOutName"
DisplayName="Alternate Compiler Output File (non-standard installation)"
Switch="[value]"
/>
<EnumProperty
Name="Arch1"
DisplayName="GPU Architecture (1)"
Description="Select GPU architecture (1) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="10"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Arch2"
DisplayName="GPU Architecture (2)"
Description="Select GPU architecture (2) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="20"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Arch3"
DisplayName="GPU Architecture (3)"
Description="Select GPU architecture (3) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="0"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="CompilerPath"
DisplayName="Path to nvcc.exe"
Description="Specifies the path to the CUDA compiler, nvcc.exe "
>
<Values>
<EnumValue
Value="0"
Switch="&quot;$(CUDA_BIN_PATH)\nvcc.exe&quot;"
DisplayName="Installed Toolkit (uses CUDA_BIN_PATH environment varible)"
/>
<EnumValue
Value="1"
Switch="&quot;[AlternateNvccPath]&quot;"
DisplayName="Use Alternate path to CUDA, specified below"
/>
</Values>
</EnumProperty>
<StringProperty
Name="AlternateNvccPath"
DisplayName="Alternate path to NVCC.exe (non-standard installation)"
Switch="[value]\nvcc.exe"
/>
<BooleanProperty
Name="Emulation"
DisplayName="Emulation Mode"
Description="Whether or not to generate emulated code."
Switch="-deviceemu -D_DEVICEEMU"
/>
<BooleanProperty
Name="FastMath"
DisplayName="Use Fast Math"
Category="Default"
Description="Make use of the fast math library."
Switch="-use_fast_math"
/>
<IntegerProperty
Name="MaxRegCount"
DisplayName="maxrregcount"
Switch="-maxrregcount=[value]"
DefaultValue="32"
/>
<BooleanProperty
Name="PtxAsOptionV"
DisplayName="Verbose PTXAS Output"
Switch="--ptxas-options=-v"
/>
<BooleanProperty
Name="CInterleavedPTX"
DisplayName="Interleave C in PTXAS Output"
Switch="--opencc-options -LIST:source=on"
/>
<StringProperty
Name="ExtraNvccOptions"
DisplayName="Extra Options"
Description="Supply any additional command line options to NVCC"
Switch="[value]"
/>
<StringProperty
Name="Defines"
DisplayName="Preprocessor Definitions"
PropertyPageName="Preprocessor"
Description="Specifies one or more preprocessor defines. (-D[macro])"
Switch="-D[value]"
Delimited="true"
Inheritable="true"
/>
<BooleanProperty
Name="Keep"
DisplayName="Keep preprocessed files (.ptx, .cubin, cudafe1.c, cudafe1.cpp, cudafe1.gpu, etc.)"
PropertyPageName="Preprocessor"
Description="Specifies that preprocessor files generated by the CUDA compiler are not deleted."
Switch="--keep"
/>
<EnumProperty
Name="Warning"
DisplayName="Warning Level"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Select how strict you want the compiler to be about checking for potentially suspect constructs. (/W0 - /W4)"
DefaultValue="3"
>
<Values>
<EnumValue
Value="0"
Switch="/W0"
DisplayName="Off: Turn Off All Warnings (/W0)"
/>
<EnumValue
Value="1"
Switch="/W1"
DisplayName="Level 1 (/W1)"
/>
<EnumValue
Value="2"
Switch="/W2"
DisplayName="Level 2 (/W2)"
/>
<EnumValue
Value="3"
Switch="/W3"
DisplayName="Level 3 (/W3)"
/>
<EnumValue
Value="4"
Switch="/W4"
DisplayName="Level 4 (/W4)"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Optimization"
DisplayName="Optimization"
Description="Select option for code optimization; choose Custom to use specific optimization options. (/Od, /O1, /O2, /Ox)"
DefaultValue="2"
>
<Values>
<EnumValue
Value="0"
Switch="/Od"
DisplayName="Disabled (/Od)"
/>
<EnumValue
Value="1"
Switch="/O1"
DisplayName="Minimize Size (/O1)"
/>
<EnumValue
Value="2"
Switch="/O2"
DisplayName="Maximize Speed (/O2)"
/>
<EnumValue
Value="3"
Switch="/Ox"
DisplayName="Full Optimization (/Ox)"
/>
</Values>
</EnumProperty>
<StringProperty
Name="AddedDependencies"
DisplayName="Source Dependencies"
Description="Add additional CUDA file dependencies"
Switch="[value]"
/>
<EnumProperty
Name="RuntimeChecks"
DisplayName="Basic Runtime Checks"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Perform basic runtime error checks, incompatible with any optimization type other than debug. (/RTCs, /RTCu, /RTC1)"
>
<Values>
<EnumValue
Value="0"
Switch=" "
DisplayName="Default"
/>
<EnumValue
Value="1"
Switch="/RTCs"
DisplayName="Stack Frames (/RTCs)"
/>
<EnumValue
Value="2"
Switch="/RTCu"
DisplayName="Uninitialized Variables (/RTCu)"
/>
<EnumValue
Value="3"
Switch="/RTC1"
DisplayName="Both (/RTC1, equiv. to /RTCsu)"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Runtime"
DisplayName="Runtime Library"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Specify runtime library for linking. (/MT, /MTd, /MD, /MDd, /ML, /MLd)"
>
<Values>
<EnumValue
Value="0"
Switch="/MT"
DisplayName="Multi-Threaded (/MT)"
/>
<EnumValue
Value="1"
Switch="/MTd"
DisplayName="Multi-Threaded Debug (/MTd)"
/>
<EnumValue
Value="2"
Switch="/MD"
DisplayName="Multi-Threaded DLL (/MD)"
/>
<EnumValue
Value="3"
Switch="/MDd"
DisplayName="Multi-Threaded Debug DLL (/MDd)"
/>
<EnumValue
Value="4"
Switch="/ML"
DisplayName="Single-Threaded (/ML)"
/>
<EnumValue
Value="5"
Switch="/MLd"
DisplayName="Single-Threaded Debug (/MLd)"
/>
</Values>
</EnumProperty>
<BooleanProperty
Name="TypeInfo"
DisplayName="Enable Run-Time Type Info"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Adds code for checking C++ object types at run time (runtime type information). (/GR)"
Switch="/GR"
/>
<StringProperty
Name="ExtraCppOptions"
DisplayName="Extra C++ Options"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Supply any additional command line options to the host C++ compiler"
Switch="[value]"
/>
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="CUDA Build Rule v3.0.14"
Version="8.00"
>
<Rules>
<CustomBuildRule
Name="CUDA Build Rule"
DisplayName="CUDA Build Rule v3.0.14"
CommandLine="echo [CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] -ccbin &quot;$(VCInstallDir)bin&quot; [Emulation] [Debug] [FastMath] [Defines] -I&quot;$(CUDA_INC_PATH)&quot; [Include] -Xcompiler &quot;/EHsc [Warning] /nologo [Optimization] /Zi [RuntimeChecks] [Runtime] [TypeInfo] [ExtraCppOptions]&quot; [MaxRegCount] [PtxAsOptionV] [Arch1] [Arch2] [Arch3] [NvccCompilation] &quot;$(InputPath)&quot; &#x0D;&#x0A; [CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] [Arch1] [Arch2] [Arch3] -ccbin &quot;$(VCInstallDir)bin&quot; [Emulation] [Debug] [FastMath] [Defines] -I&quot;$(CUDA_INC_PATH)&quot; [Include] -Xcompiler &quot;/EHsc [Warning] /nologo [Optimization] /Zi [RuntimeChecks] [Runtime] [TypeInfo] [ExtraCppOptions]&quot; [Include] [MaxRegCount] [ptxasoptionv] [Arch1] [Arch2] [Arch3] [NvccCompilation] &quot;$(InputPath)&quot;"
Outputs="[compileout]"
AdditionalDependencies="[AddedDependencies]"
FileExtensions="*.cu"
ExecutionDescription="Compiling with CUDA Build Rule..."
>
<Properties>
<StringProperty
Name="Include"
DisplayName="Additional Include Directories"
Description="Specifies one or more directories to add to the include path; use semi-colon delimited list if more than one. (/I[path])"
Switch="-I&quot;[value]&quot;"
DefaultValue="&quot;$(CUDA_INC_PATH)&quot;"
Inheritable="true"
Delimited="true"
Delimiters=";"
/>
<BooleanProperty
Name="Debug"
DisplayName="Generate Debug Information"
Description="Specifies whether debugging with Nexus support is generated by the CUDA compiler. (-D_DEBUG -D_WIN32)"
Switch="-D_DEBUG -D_WIN32"
/>
<EnumProperty
Name="NvccCompilation"
DisplayName="NVCC Compilation Type"
Description="Select desired output of NVCC compilation (-c/-compile, -cuda, -gpu, -cubin, -ptx)"
>
<Values>
<EnumValue
Value="0"
Switch="--compile -o &quot;$(IntDir)\$(InputName).cu.obj&quot;"
DisplayName="Generate hybrid object file (--compile / -c)"
/>
<EnumValue
Value="1"
Switch="-cuda -o &quot;$(IntDir)\$(InputName).cu.c&quot;"
DisplayName="Generate hybrid .c file (-cuda)"
/>
<EnumValue
Value="2"
Switch="-gpu -o &quot;$(IntDir)\$(InputName).gpu&quot;"
DisplayName="Generate .gpu file (-gpu)"
/>
<EnumValue
Value="3"
Switch="-cubin -o &quot;data\$(InputName).cubin&quot;"
DisplayName="Generate .cubin file (-cubin)"
/>
<EnumValue
Value="4"
Switch="-ptx -o &quot;data\$(InputName).ptx&quot;"
DisplayName="Generate .ptx file (-ptx)"
/>
<EnumValue
Value="5"
Switch="-cubin -o &quot;[OutputFile].cubin&quot;"
DisplayName="Custom CUBIN Filename"
/>
<EnumValue
Value="6"
Switch="-ptx -o &quot;[OutputFile].ptx&quot;"
DisplayName="Custom PTX Filename"
/>
</Values>
</EnumProperty>
<StringProperty
Name="OutputFile"
DisplayName="Compiler Output Filename"
Switch="[value]"
/>
<EnumProperty
Name="compileout"
DisplayName="Compiler Output (obj/cubin/ptx)"
Description="Sets output as an OBJ, CUBIN, or PTX file"
>
<Values>
<EnumValue
Value="0"
Switch="&quot;$(IntDir)/$(InputName).cu.obj&quot;"
DisplayName="&quot;$(IntDir)/$(InputName).cu.obj&quot;"
/>
<EnumValue
Value="1"
Switch="&quot;data/$(InputName).cubin&quot;"
DisplayName="&quot;data/$(InputName).cubin&quot;"
/>
<EnumValue
Value="2"
Switch="&quot;data/$(InputName).ptx&quot;"
DisplayName="&quot;data/$(InputName).ptx&quot;"
/>
</Values>
</EnumProperty>
<StringProperty
Name="OverrideCompileOutName"
DisplayName="Alternate Compiler Output File (non-standard installation)"
Switch="[value]"
/>
<EnumProperty
Name="Arch1"
DisplayName="GPU Architecture (1)"
Description="Select GPU architecture (1) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="10"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Arch2"
DisplayName="GPU Architecture (2)"
Description="Select GPU architecture (2) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="20"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Arch3"
DisplayName="GPU Architecture (3)"
Description="Select GPU architecture (3) to use on the command line (-arch sm_10, sm_11, sm_12, sm_13, sm_20)"
DefaultValue="0"
>
<Values>
<EnumValue
Value="0"
Switch=""
DisplayName="0"
/>
<EnumValue
Value="10"
Switch="-gencode=arch=compute_10,code=\&quot;sm_10,compute_10\&quot;"
DisplayName="sm_10"
/>
<EnumValue
Value="11"
Switch="-gencode=arch=compute_11,code=\&quot;sm_11,compute_11\&quot;"
DisplayName="sm_11"
/>
<EnumValue
Value="12"
Switch="-gencode=arch=compute_12,code=\&quot;sm_12,compute_12\&quot;"
DisplayName="sm_12"
/>
<EnumValue
Value="13"
Switch="-gencode=arch=compute_13,code=\&quot;sm_13,compute_13\&quot;"
DisplayName="sm_13"
/>
<EnumValue
Value="20"
Switch="-gencode=arch=compute_20,code=\&quot;sm_20,compute_20\&quot;"
DisplayName="sm_20"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="CompilerPath"
DisplayName="Path to nvcc.exe"
Description="Specifies the path to the CUDA compiler, nvcc.exe "
>
<Values>
<EnumValue
Value="0"
Switch="&quot;$(CUDA_BIN_PATH)\nvcc.exe&quot;"
DisplayName="Installed Toolkit (uses CUDA_BIN_PATH environment varible)"
/>
<EnumValue
Value="1"
Switch="&quot;[AlternateNvccPath]&quot;"
DisplayName="Use Alternate path to CUDA, specified below"
/>
</Values>
</EnumProperty>
<StringProperty
Name="AlternateNvccPath"
DisplayName="Alternate path to NVCC.exe (non-standard installation)"
Switch="[value]\nvcc.exe"
/>
<BooleanProperty
Name="Emulation"
DisplayName="Emulation Mode"
Description="Whether or not to generate emulated code."
Switch="-deviceemu -D_DEVICEEMU"
/>
<BooleanProperty
Name="FastMath"
DisplayName="Use Fast Math"
Category="Default"
Description="Make use of the fast math library."
Switch="-use_fast_math"
/>
<IntegerProperty
Name="MaxRegCount"
DisplayName="maxrregcount"
Switch="-maxrregcount=[value]"
DefaultValue="32"
/>
<BooleanProperty
Name="PtxAsOptionV"
DisplayName="Verbose PTXAS Output"
Switch="--ptxas-options=-v"
/>
<BooleanProperty
Name="CInterleavedPTX"
DisplayName="Interleave C in PTXAS Output"
Switch="--opencc-options -LIST:source=on"
/>
<StringProperty
Name="ExtraNvccOptions"
DisplayName="Extra Options"
Description="Supply any additional command line options to NVCC"
Switch="[value]"
/>
<StringProperty
Name="Defines"
DisplayName="Preprocessor Definitions"
PropertyPageName="Preprocessor"
Description="Specifies one or more preprocessor defines. (-D[macro])"
Switch="-D[value]"
Delimited="true"
Inheritable="true"
/>
<BooleanProperty
Name="Keep"
DisplayName="Keep preprocessed files (.ptx, .cubin, cudafe1.c, cudafe1.cpp, cudafe1.gpu, etc.)"
PropertyPageName="Preprocessor"
Description="Specifies that preprocessor files generated by the CUDA compiler are not deleted."
Switch="--keep"
/>
<EnumProperty
Name="Warning"
DisplayName="Warning Level"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Select how strict you want the compiler to be about checking for potentially suspect constructs. (/W0 - /W4)"
DefaultValue="3"
>
<Values>
<EnumValue
Value="0"
Switch="/W0"
DisplayName="Off: Turn Off All Warnings (/W0)"
/>
<EnumValue
Value="1"
Switch="/W1"
DisplayName="Level 1 (/W1)"
/>
<EnumValue
Value="2"
Switch="/W2"
DisplayName="Level 2 (/W2)"
/>
<EnumValue
Value="3"
Switch="/W3"
DisplayName="Level 3 (/W3)"
/>
<EnumValue
Value="4"
Switch="/W4"
DisplayName="Level 4 (/W4)"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Optimization"
DisplayName="Optimization"
Description="Select option for code optimization; choose Custom to use specific optimization options. (/Od, /O1, /O2, /Ox)"
DefaultValue="2"
>
<Values>
<EnumValue
Value="0"
Switch="/Od"
DisplayName="Disabled (/Od)"
/>
<EnumValue
Value="1"
Switch="/O1"
DisplayName="Minimize Size (/O1)"
/>
<EnumValue
Value="2"
Switch="/O2"
DisplayName="Maximize Speed (/O2)"
/>
<EnumValue
Value="3"
Switch="/Ox"
DisplayName="Full Optimization (/Ox)"
/>
</Values>
</EnumProperty>
<StringProperty
Name="AddedDependencies"
DisplayName="Source Dependencies"
Description="Add additional CUDA file dependencies"
Switch="[value]"
/>
<EnumProperty
Name="RuntimeChecks"
DisplayName="Basic Runtime Checks"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Perform basic runtime error checks, incompatible with any optimization type other than debug. (/RTCs, /RTCu, /RTC1)"
>
<Values>
<EnumValue
Value="0"
Switch=" "
DisplayName="Default"
/>
<EnumValue
Value="1"
Switch="/RTCs"
DisplayName="Stack Frames (/RTCs)"
/>
<EnumValue
Value="2"
Switch="/RTCu"
DisplayName="Uninitialized Variables (/RTCu)"
/>
<EnumValue
Value="3"
Switch="/RTC1"
DisplayName="Both (/RTC1, equiv. to /RTCsu)"
/>
</Values>
</EnumProperty>
<EnumProperty
Name="Runtime"
DisplayName="Runtime Library"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Specify runtime library for linking. (/MT, /MTd, /MD, /MDd, /ML, /MLd)"
>
<Values>
<EnumValue
Value="0"
Switch="/MT"
DisplayName="Multi-Threaded (/MT)"
/>
<EnumValue
Value="1"
Switch="/MTd"
DisplayName="Multi-Threaded Debug (/MTd)"
/>
<EnumValue
Value="2"
Switch="/MD"
DisplayName="Multi-Threaded DLL (/MD)"
/>
<EnumValue
Value="3"
Switch="/MDd"
DisplayName="Multi-Threaded Debug DLL (/MDd)"
/>
<EnumValue
Value="4"
Switch="/ML"
DisplayName="Single-Threaded (/ML)"
/>
<EnumValue
Value="5"
Switch="/MLd"
DisplayName="Single-Threaded Debug (/MLd)"
/>
</Values>
</EnumProperty>
<BooleanProperty
Name="TypeInfo"
DisplayName="Enable Run-Time Type Info"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Adds code for checking C++ object types at run time (runtime type information). (/GR)"
Switch="/GR"
/>
<StringProperty
Name="ExtraCppOptions"
DisplayName="Extra C++ Options"
PropertyPageName="Hybrid CUDA/C++ Options"
Description="Supply any additional command line options to the host C++ compiler"
Switch="[value]"
/>
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>