Detecting if my gpu works

i wanna know if my amd gpu works , my laptop has intel and amd gpu , so when i run games i wanna check if the game works on intel or gpu . can help me pls ? ^^

This Q&A will help

The DRI_PRIME stuff is how you switch between intel and and graphics