File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -306,10 +306,11 @@ auto jvmCallbackOpInitializer = []{
306306 REGISTER_KERNEL_BUILDER (Name (" JVMCallback" ).Device (DEVICE_CPU), JVMCallbackOp);
307307 REGISTER_KERNEL_BUILDER (Name (" JVMCallbackStateless" ).Device (DEVICE_CPU), JVMCallbackOp);
308308 }
309- if (reg->find (strings::StrCat (" JVMCallback:" , DeviceTypeString (DEVICE_GPU), " :" )) == reg->end ()) {
310- REGISTER_KERNEL_BUILDER (Name (" JVMCallback" ).Device (DEVICE_GPU), JVMCallbackOp);
311- REGISTER_KERNEL_BUILDER (Name (" JVMCallbackStateless" ).Device (DEVICE_GPU), JVMCallbackOp);
312- }
309+ // TODO: !!!
310+ // if (reg->find(strings::StrCat("JVMCallback:", DeviceTypeString(DEVICE_GPU), ":")) == reg->end()) {
311+ // REGISTER_KERNEL_BUILDER(Name("JVMCallback").Device(DEVICE_GPU), JVMCallbackOp);
312+ // REGISTER_KERNEL_BUILDER(Name("JVMCallbackStateless").Device(DEVICE_GPU), JVMCallbackOp);
313+ // }
313314 return 0 ;
314315}();
315316}
You can’t perform that action at this time.
0 commit comments