Skip to content

Commit 1c425a7

Browse files
committed
Initial github commit.
0 parents  commit 1c425a7

File tree

147 files changed

+29741
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+29741
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

+252
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
Bin/
15+
[Dd]ebug/
16+
[Dd]ebugPublic/
17+
[Rr]elease/
18+
[Rr]eleases/
19+
[Xx]64/
20+
[Xx]86/
21+
[Bb]uild/
22+
bld/
23+
[Bb]in/
24+
[Oo]bj/
25+
26+
# Visual Studio 2015 cache/options directory
27+
.vs/
28+
# Uncomment if you have tasks that create the project's static files in wwwroot
29+
#wwwroot/
30+
31+
# MSTest test Results
32+
[Tt]est[Rr]esult*/
33+
[Bb]uild[Ll]og.*
34+
35+
# NUNIT
36+
*.VisualState.xml
37+
TestResult.xml
38+
39+
# Build Results of an ATL Project
40+
[Dd]ebugPS/
41+
[Rr]eleasePS/
42+
dlldata.c
43+
44+
# DNX
45+
project.lock.json
46+
artifacts/
47+
48+
*_i.c
49+
*_p.c
50+
*_i.h
51+
*.ilk
52+
*.meta
53+
*.obj
54+
*.pch
55+
*.pdb
56+
*.pgc
57+
*.pgd
58+
*.rsp
59+
*.sbr
60+
*.tlb
61+
*.tli
62+
*.tlh
63+
*.tmp
64+
*.tmp_proj
65+
*.log
66+
*.vspscc
67+
*.vssscc
68+
.builds
69+
*.pidb
70+
*.svclog
71+
*.scc
72+
73+
# Chutzpah Test files
74+
_Chutzpah*
75+
76+
# Visual C++ cache files
77+
ipch/
78+
*.aps
79+
*.ncb
80+
*.opendb
81+
*.opensdf
82+
*.sdf
83+
*.cachefile
84+
*.VC.db
85+
86+
# Visual Studio profiler
87+
*.psess
88+
*.vsp
89+
*.vspx
90+
*.sap
91+
92+
# TFS 2012 Local Workspace
93+
$tf/
94+
95+
# Guidance Automation Toolkit
96+
*.gpState
97+
98+
# ReSharper is a .NET coding add-in
99+
_ReSharper*/
100+
*.[Rr]e[Ss]harper
101+
*.DotSettings.user
102+
103+
# JustCode is a .NET coding add-in
104+
.JustCode
105+
106+
# TeamCity is a build add-in
107+
_TeamCity*
108+
109+
# DotCover is a Code Coverage Tool
110+
*.dotCover
111+
112+
# NCrunch
113+
_NCrunch_*
114+
.*crunch*.local.xml
115+
nCrunchTemp_*
116+
117+
# MightyMoose
118+
*.mm.*
119+
AutoTest.Net/
120+
121+
# Web workbench (sass)
122+
.sass-cache/
123+
124+
# Installshield output folder
125+
[Ee]xpress/
126+
127+
# DocProject is a documentation generator add-in
128+
DocProject/buildhelp/
129+
DocProject/Help/*.HxT
130+
DocProject/Help/*.HxC
131+
DocProject/Help/*.hhc
132+
DocProject/Help/*.hhk
133+
DocProject/Help/*.hhp
134+
DocProject/Help/Html2
135+
DocProject/Help/html
136+
137+
# Click-Once directory
138+
publish/
139+
140+
# Publish Web Output
141+
*.[Pp]ublish.xml
142+
*.azurePubxml
143+
144+
# TODO: Un-comment the next line if you do not want to checkin
145+
# your web deploy settings because they may include unencrypted
146+
# passwords
147+
#*.pubxml
148+
*.publishproj
149+
150+
# NuGet Packages
151+
*.nupkg
152+
# The packages folder can be ignored because of Package Restore
153+
**/packages/*
154+
# except build/, which is used as an MSBuild target.
155+
!**/packages/build/
156+
# Uncomment if necessary however generally it will be regenerated when needed
157+
#!**/packages/repositories.config
158+
# NuGet v3's project.json files produces more ignoreable files
159+
*.nuget.props
160+
*.nuget.targets
161+
162+
# Microsoft Azure Build Output
163+
csx/
164+
*.build.csdef
165+
166+
# Microsoft Azure Emulator
167+
ecf/
168+
rcf/
169+
170+
# Windows Store app package directory
171+
AppPackages/
172+
BundleArtifacts/
173+
174+
# Visual Studio cache files
175+
# files ending in .cache can be ignored
176+
*.[Cc]ache
177+
# but keep track of directories ending in .cache
178+
!*.[Cc]ache/
179+
180+
# Others
181+
ClientBin/
182+
[Ss]tyle[Cc]op.*
183+
~$*
184+
*~
185+
*.dbmdl
186+
*.dbproj.schemaview
187+
*.pfx
188+
*.publishsettings
189+
node_modules/
190+
orleans.codegen.cs
191+
192+
# RIA/Silverlight projects
193+
Generated_Code/
194+
195+
# Backup & report files from converting an old project file
196+
# to a newer Visual Studio version. Backup files are not needed,
197+
# because we have git ;-)
198+
_UpgradeReport_Files/
199+
Backup*/
200+
UpgradeLog*.XML
201+
UpgradeLog*.htm
202+
203+
# SQL Server files
204+
*.mdf
205+
*.ldf
206+
207+
# Business Intelligence projects
208+
*.rdl.data
209+
*.bim.layout
210+
*.bim_*.settings
211+
212+
# Microsoft Fakes
213+
FakesAssemblies/
214+
215+
# GhostDoc plugin setting file
216+
*.GhostDoc.xml
217+
218+
# Node.js Tools for Visual Studio
219+
.ntvs_analysis.dat
220+
221+
# Visual Studio 6 build log
222+
*.plg
223+
224+
# Visual Studio 6 workspace options file
225+
*.opt
226+
227+
# Visual Studio LightSwitch build output
228+
**/*.HTMLClient/GeneratedArtifacts
229+
**/*.DesktopClient/GeneratedArtifacts
230+
**/*.DesktopClient/ModelManifest.xml
231+
**/*.Server/GeneratedArtifacts
232+
**/*.Server/ModelManifest.xml
233+
_Pvt_Extensions
234+
235+
# LightSwitch generated files
236+
GeneratedArtifacts/
237+
ModelManifest.xml
238+
239+
# Paket dependency manager
240+
.paket/paket.exe
241+
242+
# FAKE - F# Make
243+
.fake/
244+
245+
# Ignore specific template outputs
246+
Src/ILGPU/Basic.cs
247+
Src/ILGPU/AtomicFunctions.cs
248+
Src/ILGPU/ArrayViews.cs
249+
Src/ILGPU/GroupedIndices.cs
250+
Src/ILGPU/ReductionOperations.cs
251+
Src/ILGPU/ShuffleOperations.cs
252+
Src/ILGPU/Runtime/MemoryBuffers.cs

.gitmodules

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[submodule "LLVM"]
2+
path = LLVM
3+
url = https://github.com/llvm-mirror/llvm.git
4+
branch = release_39
5+
[submodule "LLVMSharp"]
6+
path = LLVMSharp
7+
url = https://github.com/m4rs-mt/LLVMSharp.git

.nuget/BuildNuGetPackage.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pushd ..\Src
2+
msbuild ILGPU.sln /p:Configuration=Debug
3+
msbuild ILGPU.sln /p:Configuration=Release
4+
popd
5+
nuget pack ILGPU.nuspec

.nuget/ILGPU.nuspec

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>ILGPU</id>
5+
<version>0.1.2</version>
6+
<title>ILGPU</title>
7+
<owners>Marcel Koester</owners>
8+
<authors>Marcel Koester</authors>
9+
<licenseUrl>http://www.ilgpu.net/licenses/ILGPU.License.txt</licenseUrl>
10+
<projectUrl>http://www.ilgpu.net</projectUrl>
11+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12+
<description>
13+
ILGPU compiler and runtime library for convenient GPU programming in .Net.
14+
Samples can be found in the GitHub repository: https://github.com/m4rs-mt/ILGPU.Samples
15+
</description>
16+
<summary>
17+
ILGPU is a new JIT (just-in-time) compiler for GPU programs written in .Net-based languages. It offers the flexibility and the convenience of C++ AMP on the one hand and the high performance of Cuda programs on the other hand. Functions in the scope of kernels do not have to be annotated (default C# functions) and are allowed to work on value types. All kernels (including all hardware features like shared memory, atomics and warp shuffles) can be executed and debugged on the CPU using the integrated multi-threaded CPU accelerator.
18+
</summary>
19+
<releaseNotes>http://www.ilgpu.net/releases/ILGPU.ReleaseNotes.txt</releaseNotes>
20+
<copyright>Copyright (c) 2016-2017 Marcel Koester. All rights reserved.</copyright>
21+
<tags>ilgpu gpu msil il cil cpu ptx llvm nvidia amd amp opencl cuda compiler jit</tags>
22+
<dependencies>
23+
<dependency id="System.Runtime.CompilerServices.Unsafe" version="4.3.0" />
24+
</dependencies>
25+
</metadata>
26+
<files>
27+
<file src="..\LICENSE.txt" target="" />
28+
<file src="..\LICENSE-3RD-PARTY.txt" target="" />
29+
30+
<file src="ILGPU.targets" target="build\ILGPU.targets" />
31+
<file src="..\Bin\Release\X86\ILGPU.LLVM.dll" target="build\X86\ILGPU.LLVM.dll" />
32+
<file src="..\Bin\Release\X64\ILGPU.LLVM.dll" target="build\X64\ILGPU.LLVM.dll" />
33+
<file src="..\Bin\Release\X86\libLLVM.dll" target="build\X86\libLLVM.dll" />
34+
<file src="..\Bin\Release\X64\libLLVM.dll" target="build\X64\libLLVM.dll" />
35+
<file src="..\Bin\Release\LLVMSharp.dll" target="lib\net46\LLVMSharp.dll" />
36+
<file src="..\Bin\Debug\ILGPU.dll" target="lib\net46\Debug\ILGPU.dll" />
37+
<file src="..\Bin\Debug\ILGPU.xml" target="lib\net46\Debug\ILGPU.xml" />
38+
<file src="..\Bin\Release\ILGPU.dll" target="lib\net46\Release\ILGPU.dll" />
39+
<file src="..\Bin\Release\ILGPU.xml" target="lib\net46\Release\ILGPU.xml" />
40+
</files>
41+
</package>

.nuget/ILGPU.targets

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Reference Include="ILGPU">
5+
<HintPath>$(MSBuildThisFileDirectory)..\lib\net46\$(Configuration)\ILGPU.dll</HintPath>
6+
</Reference>
7+
</ItemGroup>
8+
<ItemGroup>
9+
<Content Include="$(MSBuildThisFileDirectory)X86\libLLVM.dll">
10+
<Link>X86\libLLVM.dll</Link>
11+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
12+
</Content>
13+
<Content Include="$(MSBuildThisFileDirectory)X64\libLLVM.dll">
14+
<Link>X64\libLLVM.dll</Link>
15+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
16+
</Content>
17+
<Content Include="$(MSBuildThisFileDirectory)X86\ILGPU.LLVM.dll">
18+
<Link>X86\ILGPU.LLVM.dll</Link>
19+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
20+
</Content>
21+
<Content Include="$(MSBuildThisFileDirectory)X64\ILGPU.LLVM.dll">
22+
<Link>X64\ILGPU.LLVM.dll</Link>
23+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24+
</Content>
25+
</ItemGroup>
26+
</Project>

0 commit comments

Comments
 (0)