-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
if(WITH_CUSTOM_DEVICE) | ||
cc_library( | ||
custom_context | ||
SRCS custom_context.cc | ||
DEPS phi_device_context device_manager) | ||
cc_library( | ||
custom_device | ||
SRCS custom_device.cc | ||
DEPS device_base device_context) | ||
cc_test( | ||
custom_device_test | ||
SRCS custom_device_test.cc | ||
DEPS device_manager device_context) | ||
cc_test( | ||
capi_test | ||
SRCS capi_test.cc | ||
DEPS phi_capi) | ||
endif() |