Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
marzvrover committed May 16, 2020
1 parent 75de5ac commit 212f111
Show file tree
Hide file tree
Showing 9 changed files with 464 additions and 9 deletions.
75 changes: 68 additions & 7 deletions Closed-form Fibonacci on GPU.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
34896A25246D1F0700165BCE /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34896A24246D1F0700165BCE /* main.swift */; };
34432619246F65B800317F3C /* MetalFibonacci.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34432618246F65B800317F3C /* MetalFibonacci.swift */; };
34896A2D246D1F6F00165BCE /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34896A2C246D1F6F00165BCE /* Metal.framework */; };
34896A30246D216A00165BCE /* ArgumentParser in Frameworks */ = {isa = PBXBuildFile; productRef = 34896A2F246D216A00165BCE /* ArgumentParser */; };
34896A35246D2BF800165BCE /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34896A34246D2BF800165BCE /* main.swift */; };
34896A37246D3F3900165BCE /* fibonacci.metal in Sources */ = {isa = PBXBuildFile; fileRef = 34896A36246D3F3900165BCE /* fibonacci.metal */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -23,15 +27,20 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
34432618246F65B800317F3C /* MetalFibonacci.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalFibonacci.swift; sourceTree = "<group>"; };
34896A21246D1F0700165BCE /* Closed-form Fibonacci on GPU */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Closed-form Fibonacci on GPU"; sourceTree = BUILT_PRODUCTS_DIR; };
34896A24246D1F0700165BCE /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
34896A2C246D1F6F00165BCE /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
34896A34246D2BF800165BCE /* main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
34896A36246D3F3900165BCE /* fibonacci.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = fibonacci.metal; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
34896A1E246D1F0700165BCE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
34896A30246D216A00165BCE /* ArgumentParser in Frameworks */,
34896A2D246D1F6F00165BCE /* Metal.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -43,6 +52,7 @@
children = (
34896A23246D1F0700165BCE /* Closed-form Fibonacci on GPU */,
34896A22246D1F0700165BCE /* Products */,
34896A2B246D1F6F00165BCE /* Frameworks */,
);
sourceTree = "<group>";
};
Expand All @@ -57,11 +67,21 @@
34896A23246D1F0700165BCE /* Closed-form Fibonacci on GPU */ = {
isa = PBXGroup;
children = (
34896A24246D1F0700165BCE /* main.swift */,
34896A34246D2BF800165BCE /* main.swift */,
34896A36246D3F3900165BCE /* fibonacci.metal */,
34432618246F65B800317F3C /* MetalFibonacci.swift */,
);
path = "Closed-form Fibonacci on GPU";
sourceTree = "<group>";
};
34896A2B246D1F6F00165BCE /* Frameworks */ = {
isa = PBXGroup;
children = (
34896A2C246D1F6F00165BCE /* Metal.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -78,6 +98,9 @@
dependencies = (
);
name = "Closed-form Fibonacci on GPU";
packageProductDependencies = (
34896A2F246D216A00165BCE /* ArgumentParser */,
);
productName = "Closed-form Fibonacci on GPU";
productReference = 34896A21246D1F0700165BCE /* Closed-form Fibonacci on GPU */;
productType = "com.apple.product-type.tool";
Expand All @@ -94,6 +117,7 @@
TargetAttributes = {
34896A20246D1F0700165BCE = {
CreatedOnToolsVersion = 11.5;
LastSwiftMigration = 1150;
};
};
};
Expand All @@ -106,6 +130,9 @@
Base,
);
mainGroup = 34896A18246D1F0700165BCE;
packageReferences = (
34896A2E246D216A00165BCE /* XCRemoteSwiftPackageReference "swift-argument-parser" */,
);
productRefGroup = 34896A22246D1F0700165BCE /* Products */;
projectDirPath = "";
projectRoot = "";
Expand All @@ -120,7 +147,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
34896A25246D1F0700165BCE /* main.swift in Sources */,
34896A37246D3F3900165BCE /* fibonacci.metal in Sources */,
34432619246F65B800317F3C /* MetalFibonacci.swift in Sources */,
34896A35246D2BF800165BCE /* main.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -179,7 +208,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
MTL_FAST_MATH = NO;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand Down Expand Up @@ -233,7 +262,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
MTL_FAST_MATH = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
Expand All @@ -243,20 +272,33 @@
34896A29246D1F0700165BCE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = RUZM7ULTJ2;
ENABLE_HARDENED_RUNTIME = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
34896A2A246D1F0700165BCE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = RUZM7ULTJ2;
ENABLE_HARDENED_RUNTIME = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
"@loader_path/../Frameworks",
);
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
Expand Down Expand Up @@ -284,6 +326,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
34896A2E246D216A00165BCE /* XCRemoteSwiftPackageReference "swift-argument-parser" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/apple/swift-argument-parser";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 0.0.1;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
34896A2F246D216A00165BCE /* ArgumentParser */ = {
isa = XCSwiftPackageProductDependency;
package = 34896A2E246D216A00165BCE /* XCRemoteSwiftPackageReference "swift-argument-parser" */;
productName = ArgumentParser;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 34896A19246D1F0700165BCE /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "9f04d1ff1afbccd02279338a2c91e5f27c45e93a",
"version": "0.0.5"
}
}
]
},
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1150"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "34896A20246D1F0700165BCE"
BuildableName = "Closed-form Fibonacci on GPU"
BlueprintName = "Closed-form Fibonacci on GPU"
ReferencedContainer = "container:Closed-form Fibonacci on GPU.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "34896A20246D1F0700165BCE"
BuildableName = "Closed-form Fibonacci on GPU"
BlueprintName = "Closed-form Fibonacci on GPU"
ReferencedContainer = "container:Closed-form Fibonacci on GPU.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-s 0"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "--cpu"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "100"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "34896A20246D1F0700165BCE"
BuildableName = "Closed-form Fibonacci on GPU"
BlueprintName = "Closed-form Fibonacci on GPU"
ReferencedContainer = "container:Closed-form Fibonacci on GPU.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>34896A20246D1F0700165BCE</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
5 changes: 5 additions & 0 deletions Closed-form Fibonacci on GPU/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
Loading

0 comments on commit 212f111

Please sign in to comment.