Merge pull request #38706 from periannath:introduce_ruy_profiler
PiperOrigin-RevId: 307948205 Change-Id: Iaa2d0747447e8da6ba616027dee0572922a7b39a
This commit is contained in:
commit
31bd69ec2c
@ -184,6 +184,14 @@ ifeq ($(BUILD_WITH_RUY),true)
|
|||||||
CXXFLAGS += -DTFLITE_WITH_RUY
|
CXXFLAGS += -DTFLITE_WITH_RUY
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
BUILD_WITH_RUY_PROFILER ?= false
|
||||||
|
ifeq ($(BUILD_WITH_RUY_PROFILER),true)
|
||||||
|
CORE_CC_ALL_SRCS += tensorflow/lite/tools/make/downloads/ruy/ruy/profiler/instrumentation.cc
|
||||||
|
CORE_CC_ALL_SRCS += tensorflow/lite/tools/make/downloads/ruy/ruy/profiler/profiler.cc
|
||||||
|
CORE_CC_ALL_SRCS += tensorflow/lite/tools/make/downloads/ruy/ruy/profiler/treeview.cc
|
||||||
|
CXXFLAGS += -DRUY_PROFILER
|
||||||
|
endif
|
||||||
|
|
||||||
# Not to include XNNPACK.
|
# Not to include XNNPACK.
|
||||||
CXXFLAGS += -DTFLITE_WITHOUT_XNNPACK
|
CXXFLAGS += -DTFLITE_WITHOUT_XNNPACK
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user