Skip to content

Don't multiply GPU profiling times with timer resolution.#3

Open
fo-fo wants to merge 1 commit intonlamprian:masterfrom
fo-fo:gputimer-fix
Open

Don't multiply GPU profiling times with timer resolution.#3
fo-fo wants to merge 1 commit intonlamprian:masterfrom
fo-fo:gputimer-fix

Conversation

@fo-fo
Copy link
Copy Markdown

@fo-fo fo-fo commented Oct 20, 2017

CL_PROFILING_COMMAND_START/CL_PROFILING_COMMAND_END already returns the count in nanoseconds. On some devices CL_DEVICE_PROFILING_TIMER_RESOLUTION returns 1, which can mask the bug.

CL_PROFILING_COMMAND_START/CL_PROFILING_COMMAND_END already returns the
count in nanoseconds. On some devices CL_DEVICE_PROFILING_TIMER_RESOLUTION
returns 1, which can mask the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant