Skip to content

Commit

Permalink
Add Metal version
Browse files Browse the repository at this point in the history
  • Loading branch information
hollance committed Mar 6, 2017
1 parent df44dd5 commit 43d89ef
Show file tree
Hide file tree
Showing 12 changed files with 757 additions and 0 deletions.
326 changes: 326 additions & 0 deletions VoiceMetal/VoiceMetal.xcodeproj/project.pbxproj
@@ -0,0 +1,326 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
7B0EA89D1E6C977A00D77F1C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B0EA89C1E6C977A00D77F1C /* AppDelegate.swift */; };
7B0EA89F1E6C977A00D77F1C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B0EA89E1E6C977A00D77F1C /* ViewController.swift */; };
7B0EA8A21E6C977A00D77F1C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7B0EA8A01E6C977A00D77F1C /* Main.storyboard */; };
7B0EA8A41E6C977A00D77F1C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B0EA8A31E6C977A00D77F1C /* Assets.xcassets */; };
7B0EA8A71E6C977A00D77F1C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7B0EA8A51E6C977A00D77F1C /* LaunchScreen.storyboard */; };
7B0EA8B01E6C97C600D77F1C /* b.bin in Resources */ = {isa = PBXBuildFile; fileRef = 7B0EA8AE1E6C97C600D77F1C /* b.bin */; };
7B0EA8B11E6C97C600D77F1C /* W.bin in Resources */ = {isa = PBXBuildFile; fileRef = 7B0EA8AF1E6C97C600D77F1C /* W.bin */; };
7B0EA8B41E6C9A9C00D77F1C /* Float16.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B0EA8B21E6C9A9C00D77F1C /* Float16.swift */; };
7B0EA8B51E6C9A9C00D77F1C /* MPSImage+Floats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B0EA8B31E6C9A9C00D77F1C /* MPSImage+Floats.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
7B0EA8991E6C977A00D77F1C /* VoiceMetal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VoiceMetal.app; sourceTree = BUILT_PRODUCTS_DIR; };
7B0EA89C1E6C977A00D77F1C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7B0EA89E1E6C977A00D77F1C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
7B0EA8A11E6C977A00D77F1C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
7B0EA8A31E6C977A00D77F1C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
7B0EA8A61E6C977A00D77F1C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
7B0EA8A81E6C977A00D77F1C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7B0EA8AE1E6C97C600D77F1C /* b.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; path = b.bin; sourceTree = "<group>"; };
7B0EA8AF1E6C97C600D77F1C /* W.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; path = W.bin; sourceTree = "<group>"; };
7B0EA8B21E6C9A9C00D77F1C /* Float16.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Float16.swift; sourceTree = "<group>"; };
7B0EA8B31E6C9A9C00D77F1C /* MPSImage+Floats.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "MPSImage+Floats.swift"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
7B0EA8961E6C977A00D77F1C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
7B0EA8901E6C977A00D77F1C = {
isa = PBXGroup;
children = (
7B0EA89B1E6C977A00D77F1C /* VoiceMetal */,
7B0EA89A1E6C977A00D77F1C /* Products */,
);
sourceTree = "<group>";
};
7B0EA89A1E6C977A00D77F1C /* Products */ = {
isa = PBXGroup;
children = (
7B0EA8991E6C977A00D77F1C /* VoiceMetal.app */,
);
name = Products;
sourceTree = "<group>";
};
7B0EA89B1E6C977A00D77F1C /* VoiceMetal */ = {
isa = PBXGroup;
children = (
7B0EA89C1E6C977A00D77F1C /* AppDelegate.swift */,
7B0EA89E1E6C977A00D77F1C /* ViewController.swift */,
7B0EA8B31E6C9A9C00D77F1C /* MPSImage+Floats.swift */,
7B0EA8B21E6C9A9C00D77F1C /* Float16.swift */,
7B0EA8AF1E6C97C600D77F1C /* W.bin */,
7B0EA8AE1E6C97C600D77F1C /* b.bin */,
7B0EA8A01E6C977A00D77F1C /* Main.storyboard */,
7B0EA8A31E6C977A00D77F1C /* Assets.xcassets */,
7B0EA8A51E6C977A00D77F1C /* LaunchScreen.storyboard */,
7B0EA8A81E6C977A00D77F1C /* Info.plist */,
);
path = VoiceMetal;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
7B0EA8981E6C977A00D77F1C /* VoiceMetal */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7B0EA8AB1E6C977A00D77F1C /* Build configuration list for PBXNativeTarget "VoiceMetal" */;
buildPhases = (
7B0EA8951E6C977A00D77F1C /* Sources */,
7B0EA8961E6C977A00D77F1C /* Frameworks */,
7B0EA8971E6C977A00D77F1C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = VoiceMetal;
productName = VoiceMetal;
productReference = 7B0EA8991E6C977A00D77F1C /* VoiceMetal.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
7B0EA8911E6C977A00D77F1C /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0820;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = Hollance;
TargetAttributes = {
7B0EA8981E6C977A00D77F1C = {
CreatedOnToolsVersion = 8.2.1;
DevelopmentTeam = MGCEKGP4Y4;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 7B0EA8941E6C977A00D77F1C /* Build configuration list for PBXProject "VoiceMetal" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 7B0EA8901E6C977A00D77F1C;
productRefGroup = 7B0EA89A1E6C977A00D77F1C /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
7B0EA8981E6C977A00D77F1C /* VoiceMetal */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
7B0EA8971E6C977A00D77F1C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7B0EA8A71E6C977A00D77F1C /* LaunchScreen.storyboard in Resources */,
7B0EA8B11E6C97C600D77F1C /* W.bin in Resources */,
7B0EA8A41E6C977A00D77F1C /* Assets.xcassets in Resources */,
7B0EA8B01E6C97C600D77F1C /* b.bin in Resources */,
7B0EA8A21E6C977A00D77F1C /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
7B0EA8951E6C977A00D77F1C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7B0EA89F1E6C977A00D77F1C /* ViewController.swift in Sources */,
7B0EA8B41E6C9A9C00D77F1C /* Float16.swift in Sources */,
7B0EA89D1E6C977A00D77F1C /* AppDelegate.swift in Sources */,
7B0EA8B51E6C9A9C00D77F1C /* MPSImage+Floats.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
7B0EA8A01E6C977A00D77F1C /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
7B0EA8A11E6C977A00D77F1C /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
7B0EA8A51E6C977A00D77F1C /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
7B0EA8A61E6C977A00D77F1C /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
7B0EA8A91E6C977A00D77F1C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
7B0EA8AA1E6C977A00D77F1C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
7B0EA8AC1E6C977A00D77F1C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = MGCEKGP4Y4;
INFOPLIST_FILE = VoiceMetal/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.hollance.VoiceMetal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
7B0EA8AD1E6C977A00D77F1C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = MGCEKGP4Y4;
INFOPLIST_FILE = VoiceMetal/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.hollance.VoiceMetal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
7B0EA8941E6C977A00D77F1C /* Build configuration list for PBXProject "VoiceMetal" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7B0EA8A91E6C977A00D77F1C /* Debug */,
7B0EA8AA1E6C977A00D77F1C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7B0EA8AB1E6C977A00D77F1C /* Build configuration list for PBXNativeTarget "VoiceMetal" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7B0EA8AC1E6C977A00D77F1C /* Debug */,
7B0EA8AD1E6C977A00D77F1C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 7B0EA8911E6C977A00D77F1C /* Project object */;
}

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

12 changes: 12 additions & 0 deletions VoiceMetal/VoiceMetal/AppDelegate.swift
@@ -0,0 +1,12 @@
import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
}

0 comments on commit 43d89ef

Please sign in to comment.