2022-09-27 10:41:12 +08:00
|
|
|
#pragma once
|
|
|
|
namespace infini {
|
|
|
|
namespace opTimer {
|
|
|
|
double getPerfConvCudnn(int n, int c, int h, int w, int f, int r, int s,
|
|
|
|
int padh, int padw, int strideh, int stridew,
|
|
|
|
int dilationh, int dilationw, int group,
|
|
|
|
const char *name);
|
|
|
|
|
2022-10-07 16:03:11 +08:00
|
|
|
double getPerfConvTransposed2dCudnn(int n, int c, int h, int w, int f, int r,
|
|
|
|
int s, int padh, int padw, int strideh,
|
|
|
|
int stridew, int dilationh, int dilationw,
|
|
|
|
int oph, int opw, int group);
|
|
|
|
|
2022-09-27 10:41:12 +08:00
|
|
|
double getPerfMatmulCublas(int b, int m, int n, int k, const char *name);
|
|
|
|
} // namespace opTimer
|
2022-10-15 16:29:28 +08:00
|
|
|
} // namespace infini
|