int main(int argc, char **argv) { dnnError_t err; err = simple_net(0); if (err != E_SUCCESS) { printf("FAILED\n"); return err; } err = simple_net(1); if (err != E_SUCCESS) { printf("FAILED\n"); return err; } printf("PASSED\n"); return 0; }
int main(int argc, char **argv) { mkldnn_status_t result = simple_net(); printf("%s\n", (result == mkldnn_success) ? "passed" : "failed"); return result; }