IIUC, it should be
if (op->attr_key == attr::thread_extent | op->attr_key == attr::pipeline_exec_scope | op->attr_key == attr::device_scope)
{
return SplitDeviceFunc(GetRef(op));
}
So, try to figure our if such attributes exist in you code.
IIUC, it should be
So, try to figure our if such attributes exist in you code.