case OpenCLstd_S_Upsample:
case OpenCLstd_U_Upsample:
return nir_upsample(nb, srcs[0], srcs[1]);
+ case OpenCLstd_Native_exp:
+ return nir_fexp(nb, srcs[0]);
+ case OpenCLstd_Native_log:
+ return nir_flog(nb, srcs[0]);
default:
vtn_fail("No NIR equivalent");
return NULL;
case OpenCLstd_S_Upsample:
case OpenCLstd_U_Upsample:
case OpenCLstd_Clz:
+ case OpenCLstd_Native_exp:
+ case OpenCLstd_Native_log:
handle_instr(b, cl_opcode, w, count, handle_special);
return true;
case OpenCLstd_Vloadn: