GPUOpen-Tools / gpu_performance_api

GPU Performance API for AMD GPUs
MIT License
250 stars 46 forks source link

Does GPA_IsSessionComplete really need to issue an error? #38

Closed chaoticbob closed 5 years ago

chaoticbob commented 5 years ago

It seems like when capturing, one might want to use GPA_IsSessionComplete to determine if the results are ready. Is it really necessary for every call to GPA_IsSessionComplete to log "Session has not been started" error?

chesik-amd commented 5 years ago

Do you have a valid reson for calling GPA_IsSessionComplete before starting the session with GPA_BeginSession?

chaoticbob commented 5 years ago

I do not. Sorry, I should have been more specific. I was just really after whether one can call GPA_IsSessionComplete before session begin. Which it looks like you can't. Thanks.