to here: https://github.com/oneapi-src/oneDNN/blob/master/src/cpu/x64...
It's using feature-flag checks, not family checks, so you shouldn't be affected if you're using oneDNN.