Skip to content

Commit

Permalink
Work in progress on faster Raspberry Pi GPU GEMM
Browse files Browse the repository at this point in the history
  • Loading branch information
jetpaccomputer committed Jul 31, 2014
1 parent 177d531 commit ec2539c
Show file tree
Hide file tree
Showing 10 changed files with 500 additions and 814 deletions.
2 changes: 0 additions & 2 deletions source/jpcnn.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@
592FF81518ECB34F00C164F8 /* libDeepBelief.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libDeepBelief.a; sourceTree = BUILT_PRODUCTS_DIR; };
592FF81A18ECB34F00C164F8 /* DeepBelief.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DeepBelief.h; sourceTree = "<group>"; };
592FF85E18ECB42D00C164F8 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Accelerate.framework; sourceTree = DEVELOPER_DIR; };
592FF8A918ECBCE500C164F8 /* jpcnn_ios copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "jpcnn_ios copy-Info.plist"; path = "/Users/petewarden/vagrant/jpcnn/jpcnn_ios copy-Info.plist"; sourceTree = "<absolute>"; };
594BBA6D1884A94A007F9A2A /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
594BBA841886FE8A007F9A2A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
594BBA861886FE8A007F9A2A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -679,7 +678,6 @@
59CC3B7A1912D18B0046B191 /* OSXDeepBelief */,
594BBA831886FE8A007F9A2A /* Frameworks */,
59D2FBB8187F8D2A00427417 /* Products */,
592FF8A918ECBCE500C164F8 /* jpcnn_ios copy-Info.plist */,
);
sourceTree = "<group>";
};
Expand Down
1 change: 1 addition & 0 deletions source/src/lib/graph/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ void Buffer::printContents(int maxElements) {
assert(false); // Should never get here
value = 0.0f;
}
fprintf(output, "%.10f", value);
}
if (y < (height - 1)) {
fprintf(output, "],\n");
Expand Down
2 changes: 1 addition & 1 deletion source/src/lib/libjpcnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct SPredictorInfoStruct {
SLibSvmProblem* problem;
} SPredictorInfo;

//extern void test_qpu_gemm();
extern void test_qpu_gemm();

extern "C" {

Expand Down
Binary file removed source/src/lib/pi/._gemm_16bit.asm
Binary file not shown.
Binary file removed source/src/lib/pi/._gemm_float.asm
Binary file not shown.
Loading

0 comments on commit ec2539c

Please sign in to comment.