refactor message OperatorConf, change device_type to device_tag (#3411)
* refactor message OperatorConf, change device_type to device_tag * subsititute HobDeviceType with HobDeviceTag in user_op kernel registration * remove c_api_util.DeviceType4DeviceTag * fix error when buil with cuda off * fix can not use CHECK_JUST macro in another macro
Showing
- oneflow/user/kernels/zero_like_kernel.cpp 1 addition, 1 deletiononeflow/user/kernels/zero_like_kernel.cpp
- oneflow/xrt/api.cpp 9 additions, 4 deletionsoneflow/xrt/api.cpp
- oneflow/xrt/api.h 2 additions, 0 deletionsoneflow/xrt/api.h
- oneflow/xrt/build_graph.h 1 addition, 1 deletiononeflow/xrt/build_graph.h
- oneflow/xrt/launch_op.cpp 6 additions, 4 deletionsoneflow/xrt/launch_op.cpp
- oneflow/xrt/passes/rebuild_job_pass.cpp 10 additions, 9 deletionsoneflow/xrt/passes/rebuild_job_pass.cpp
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment