forked from tensorflow/tensorflow
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Arm Compute Library GEMM (tensorflow#170)
* Add -Wno-c++11-narrowing to ComputeCpp device compiler flags to avoid build errors on 32-bit targets. * Added SYCL support to DeviceSpec.parse_from_string - fixes a regression in running the Resnet sample from the TensorFlow models repository with SYCL. * Bumped Eigen version. * [OpenCL] Adds option to disable SYCL vectorization (tensorflow#161) Adds an option to the configure script to disable SYCL vectorization. This also rewrites and cleans up the computecpp.tpl build script, though the actual behaviour has not changed. * [OpenCL] Fixes Variable Resource op for SYCL (tensorflow#162) Recent changes to the VariableResource ops were broken for SYCL. This fixes the errors introduced by those changes. * [OpenCL] Alignment fixed in Eigen Don't need to use the alignment workaround any more, as the underlying problem is fixed in Eigen. * [OpenCL] Adds Eigen changes for new RC * [OpenCL] Adds support for SYCL devices to nn_ops_test * [OpenCL] Fixes multiple registrations of same op The registration of `ReadVariableOp` does not depend on the datatype, so we were registering more than ne of the same op. * [OpenCL] Adds naive forward pass Conv2D kernel Provides a very naive unoptimised forward convolution SYCL kernel. * [OpenCL] Adds naive backprop for SYCL Conv2D Adds both filter and input backprop * [OpenCL] Fixes multiple registrations of same op (tensorflow#163) The registration of `ReadVariableOp` does not depend on the datatype, so we were registering more than ne of the same op. * [ACL] Adding ARM Compute Library * [ACL] Adds gemm code * [ACL] Adds ARM_NO_EXCEPTIONS * [ACL] Don't register half for ARM * [ACL] Adds linking to OpenCL * Tidied up formatting of ACL integration. * Bug fixes to ARM Compute Library GEMM integration into matmul, from Duncan McBain. * Fixed typos in configure.py help messages. * Reverted formatting and logging changes that aren't related to ACL.
- Loading branch information
1 parent
6125d3a
commit 9586bef
Showing
16 changed files
with
253 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
licenses(["notice"]) # MIT License | ||
|
||
exports_files(["LICENSE"]) | ||
|
||
config_setting( | ||
name = "using_acl", | ||
values = { | ||
"define": "using_acl=true", | ||
}, | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
load( | ||
"//third_party/acl:build_defs.bzl", | ||
"if_acl", | ||
) | ||
|
||
cc_library( | ||
name = "intel_binary_blob", | ||
srcs = if_acl([ | ||
"@acl//:libarm_compute.so", | ||
"@acl//:libOpenCL.so", | ||
]), | ||
visibility = ["//visibility:public"], | ||
deps = ["@acl//:acl_headers"], | ||
) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
licenses(["notice"]) # MIT | ||
|
||
exports_files(["license.txt"]) | ||
|
||
filegroup( | ||
name = "LICENSE", | ||
srcs = [ | ||
"license.txt", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
cc_library( | ||
name = "acl_headers", | ||
srcs = glob(["**/*.h"]), | ||
includes = [".", "include", "arm_compute", "support", "utils"], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
filegroup( | ||
name = "libarm_compute.so", | ||
srcs = ["lib/libarm_compute.so"], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
filegroup( | ||
name = "libOpenCL.so", | ||
srcs = ["lib/libOpenCL.so"], | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.