Summary
Use dnnl::lstm_forward primitive on XPU for LSTM inference, replacing the per-timestep fused cell approach. The oneDNN primitive processes the entire sequence internally, eliminating O(T) kernel launches.
Changes
New file aten/src/ATen/native/mkldnn/xpu/RNN.cpp: Implements lstm_onednn_xpu using dnnl::lstm_forward, registered via...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3555845