use OneDNN C++ API instead of C API