-
-
Save YakunZhou/7370c732248302e5b20a245370f0450a to your computer and use it in GitHub Desktop.
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
class CpuLocalCallOpKernelInstructionType final : public LocalCallOpKernelInstructionType { | |
public: | |
CpuLocalCallOpKernelInstructionType() = default; | |
~CpuLocalCallOpKernelInstructionType() override = default; | |
using stream_type = vm::CpuStreamType; // 绑定stream_type | |
private: | |
const char* device_tag() const override { return stream_type().device_tag(); } | |
}; | |
COMMAND(vm::RegisterInstructionType<CpuLocalCallOpKernelInstructionType>("cpu.LocalCallOpKernel")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment