I have seen NV_UFLUSH_L2_FLUSH_DIRTY and MEM_OP_D_OPERATION_L2_FLUSH_DIRTY in NVIDIA Driver.
I wonder if these definitions can be utilized to flush dirty lines in GPU L2 cache.
Also if possible, how can I use them in my program?
Could you share more info about where you found the “NV_UFLUSH_L2_FLUSH_DIRTY” and “MEM_OP_D_OPERATION_L2_FLUSH_DIRTY”?
Do you find it from the iGPU driver or dGPU driver?
Thanks for your response.
I have found this in one of dGPU driver, 390.48. I checked it is available on later versions as well (470, open-source drivers as well).
For example, one of the file that contains this definition is clc06f.h inside kernel/nvidia-uvm folder.
I have NVIDIA GTX 1060 and 3060. I have looked through different drivers. As I said, in 390.48, 470, and the latest open-source one, I found these definitions.