IS_V1
if (!IS_V1(core))
if (IS_V1(core)) {
if (!inst || !IS_V1(inst->core))
if (!inst || !IS_V1(inst->core))
if (IS_V1(hdev->core))
if (IS_V1(hdev->core)) {
if (IS_V1(inst->core)) {