Skip to content

Fix #11803: Force CUPTI to flush GPU activity buffers when stopping tracing. - #11945

Merged
benoitsteiner merged 1 commit into
tensorflow:masterfrom
laket:gpu_event_flush
Aug 1, 2017
Merged

benoitsteiner merged 1 commit into
tensorflow:masterfrom
laket:gpu_event_flush

Conversation

@laket

@laket laket commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

As described #11803, stopping GPU tracing, GPU events are not flushed. Then we cannot get GPU activities in performance statistics.

Calling ActivityFlushAll() with flag CUPTI_ACTIVITY_FLAG_NONE causes this problem, so this commit changes the flag to CUPTI_ACTIVITY_FLAG_FLUSH_FORCED.

@tensorflow-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@benoitsteiner

Copy link
Copy Markdown
Contributor

Jenkins, test this please.

@benoitsteiner
benoitsteiner merged commit 7c27175 into tensorflow:master Aug 1, 2017
@benoitsteiner benoitsteiner self-assigned this Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants