Can you provide the directory structure at which you are trying to run the compilation.
Like the present directory its peers , The parent directory of present directory and the peers of parent directory will do.
Thanks and Regards
I already solved the problem by myself.
The issue is that in oneApi version 0.10 there has been a change in names. I was not aware of the change. The change is in path of header and in namespace name.- in both cases "intel" has been changed to "INTEL" in capitals. This caused compiler not to find correct instances of code.