Skip to content

Commit 56ea3db

Browse files
mcr229facebook-github-bot
authored andcommitted
add fp16 (#46)
Summary: Pull Request resolved: #46 adding FP16 submodule as it is an XNNPACK dependency Differential Revision: D48180546 fbshipit-source-id: 039362a171f7d67e58339a5041b961898f3ed425
1 parent 5752d4f commit 56ea3db

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@
1616
[submodule "backends/xnnpack/third-party/cpuinfo"]
1717
path = backends/xnnpack/third-party/cpuinfo
1818
url = https://github.com/pytorch/cpuinfo.git
19+
[submodule "backends/xnnpack/third-party/cpuinfo"]
20+
path = backends/xnnpack/third-party/cpuinfo
21+
url = https://github.com/pytorch/cpuinfo.git
22+
[submodule "backends/xnnpack/third-party/FP16"]
23+
path = backends/xnnpack/third-party/FP16
24+
url = https://github.com/Maratyszcza/FP16.git

backends/xnnpack/third-party/FP16

Submodule FP16 added at 4dfe081

backends/xnnpack/third-party/TARGETS.oss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,15 @@ load(":cpuinfo_defs.bzl", "define_cpuinfo_and_clog")
44
define_pthreadpool()
55

66
define_cpuinfo_and_clog()
7+
8+
native.cxx_library(
9+
name = "FP16",
10+
raw_headers = glob([
11+
"FP16/include/*.h",
12+
]),
13+
public_include_directories = [
14+
"FP16/include/",
15+
],
16+
force_static = True,
17+
visibility = ["PUBLIC"],
18+
)

0 commit comments

Comments
 (0)