| 149 | } // namespace |
| 150 | |
| 151 | CgmodeCompileOp::CgmodeCompileOp(OpKernelConstruction* ctx) |
| 152 | : OpKernel(ctx), function_(FunctionAttr(ctx)) { |
| 153 | env_ = ctx->env(); |
| 154 | flib_ = ctx->function_library(); |
| 155 | is_compiled_ = false; |
| 156 | } |
| 157 | |
| 158 | Status CgmodeCompileOp::Compile(OpKernelContext* ctx, tstring& compiled_key) { |
| 159 | auto gpu_device = dynamic_cast<BaseGPUDevice*>(ctx->device()); |
nothing calls this directly
no test coverage detected