-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathcuda_bin2c.xml
More file actions
53 lines (52 loc) · 3.57 KB
/
cuda_bin2c.xml
File metadata and controls
53 lines (52 loc) · 3.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertedRecipeDefinition">
<Rule
Name="CudaBin2C"
PageTemplate="tool"
DisplayName="CUDA PTX Compile to C String"
Order="200">
<Rule.DataSource>
<DataSource Persistence="ProjectFile" ItemType="CudaBin2C" />
</Rule.DataSource>
<Rule.Categories>
<Category Name="General" DisplayName="General" Description="General" />
</Rule.Categories>
<StringProperty Name="Command" Category="General" DisplayName="Command Line" Description="Specifies a command line for the custom build tool." F1Keyword="VC.Project.VCCustomBuildTool.Command" >
<StringProperty.ValueEditors>
<ValueEditor EditorType="DefaultCommandPropertyEditor" DisplayName="<Edit...>"/>
</StringProperty.ValueEditors>
</StringProperty>
<StringListProperty Name="Outputs" Category="General" DisplayName="Outputs" Description="Specifies the output files the custom build tool generates." F1Keyword="VC.Project.VCCustomBuildTool.Outputs" />
<StringListProperty Name="AdditionalInputs" Category="General" DisplayName="Additional Dependencies" Description="Specifies any additional input files to use for the custom build tool." F1Keyword="VC.Project.VCCustomBuildTool.AdditionalInputs" />
<BoolProperty Name="LinkObjects" Category="General" DisplayName="Link Objects" F1Keyword="VC.Project.VCCustomBuildTool.LinkObjects"
Description="Specify whether the Inputs and outputs files with specific extensions (.obj, .lib, .res, .rsc) are passed to the linker.">
</BoolProperty>
<DynamicEnumProperty Name="OutputItemType" DisplayName="Add Outputs to Item Type" Category="General"
Description="Specifies Item type to add output files to so they become sources for other build tools."
EnumProvider="ItemTypes"
F1Keyword="VC.Project.VCCustomBuildTool.OutputsItemType">
</DynamicEnumProperty>
<BoolProperty Name="BuildInParallel" Category="General" DisplayName="Build In Parallel" F1Keyword="VC.Project.VCCustomBuildTool.BuildInParallel"
Description="Specifies that this item can be built in parallel with other custom build tool items.">
</BoolProperty>
<IntProperty Name="MaxProcesses" Category="General" DisplayName="Maximum Processes" F1Keyword="VC.Project.VCCustomBuildTool.MaxProcesses"
Description="Maximum number of CPU cores to use for parallel build. A value of 0 utilizes all available processors.">
</IntProperty>
<IntProperty Name="MaxItemsInBatch" Category="General" DisplayName="Maximum Batch Size" F1Keyword="VC.Project.VCCustomBuildTool.MaxProcesses"
Description="Maximum number of items to execute together during parallel build. A value of 0 divides items evenly into parallel batches. A value of 1 disables batching. Larger batches will improve performance if the custom build tool processes items quickly.">
</IntProperty>
</Rule>
<ItemType
Name="CudaBin2C"
DisplayName="CUDA PTX Compile to C String" />
<FileExtension
Name="*.cu"
ContentType="CudaBin2C" />
<ContentType
Name="CudaBin2C"
DisplayName="CUDA PTX Compile to C String"
ItemType="CudaBin2C" />
</ProjectSchemaDefinitions>