Skip to content

Used to check whether the outputs (which are usually float values) from two gpu kernels match by examining the data in the two output buffers (excluding NaN and Inf data) and calculating the Root Mean Square Difference of them

Notifications You must be signed in to change notification settings

qianfengz/GpuBuffersMatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Define internal APIs to be used by MIOpen driver/ and test/.

  2. The testing codes use the APIs to judge whether the output (which are usually float values) from the tested kernel is valid by comparing this output to the output of the other kernel (which is usually a reference kernel easier to implement and validate).

  3. The kernel buffers are compared by computing Root Mean Square Difference of the them. If the computed RMSD value is less than user specified tolerance value, the two buffers are regarded as equal.

  4. One usage situation is to compare the output of the tested convolution kernel to the output of the naive-conv kernel.

About

Used to check whether the outputs (which are usually float values) from two gpu kernels match by examining the data in the two output buffers (excluding NaN and Inf data) and calculating the Root Mean Square Difference of them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published