Skip to content

pitfalls avoided by matmul.py #1

@singam-sanjay

Description

@singam-sanjay

Helli @yaroslavvb,

In https://stackoverflow.com/questions/41804380/testing-gpu-with-tensorflow-matrix-multiplication, you claimed that your matmul_benchmark.py avoided common pitfalls. Can you please list them out ?

I can see that you have,

  1. Avoided counting time take to transfer data to the device by making the first call outside the timing region. But, is it guaranteed that Tensorflow will not move data back to the host unless it is accessed ?
  2. Averaging the time take over many iterations.

Thanks,
Sanjay

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions