Skip to content

Commit 0a474aa

Browse files
[CI, CK examples] Disable time_kernel for CI tests and examples (#3464)
* Disable kernel timing in tests * default time_kernel = false in old CK examples
1 parent e8cc75a commit 0a474aa

61 files changed

Lines changed: 61 additions & 61 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

example/02_gemm_bilinear/gemm_bilinear_wmma_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ int main(int argc, char* argv[])
119119
{
120120
bool do_verification = true;
121121
int init_method = 1;
122-
bool time_kernel = true;
122+
bool time_kernel = false;
123123

124124
// GEMM shape
125125
ck::index_t M = 3840;

example/02_gemm_bilinear/gemm_bilinear_wmma_int8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ int main(int argc, char* argv[])
119119
{
120120
bool do_verification = true;
121121
int init_method = 1;
122-
bool time_kernel = true;
122+
bool time_kernel = false;
123123

124124
// GEMM shape
125125
ck::index_t M = 3840;

example/12_reduce/reduce_blockwise.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SimpleAppArgs
3131
bool do_verification = true;
3232
int data_type = 1;
3333
int init_method = 2;
34-
bool time_kernel = true;
34+
bool time_kernel = false;
3535

3636
public:
3737
void show_usage(const char* cmd)

example/12_reduce/reduce_multiblock_atomic_add.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SimpleAppArgs
3131
bool do_verification = true;
3232
int data_type = 1;
3333
int init_method = 2;
34-
bool time_kernel = true;
34+
bool time_kernel = false;
3535

3636
public:
3737
void show_usage(const char* cmd)

example/12_reduce/reduce_threadwise_multi_d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SimpleAppArgs
3131
bool do_verification = true;
3232
int data_type = 1;
3333
int init_method = 2;
34-
bool time_kernel = true;
34+
bool time_kernel = false;
3535

3636
public:
3737
void show_usage(const char* cmd)

example/13_pool2d_fwd/pool2d_fwd_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main(int argc, char* argv[])
5353
{
5454
do_verification = true;
5555
init_method = 1;
56-
time_kernel = true;
56+
time_kernel = false;
5757
}
5858
else if(argc == 4)
5959
{

example/15_grouped_gemm/grouped_gemm_multiple_d_splitk_xdl_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct ExecutionConfig final
9090
bool do_verification = true;
9191
int init_method = 1;
9292
int k_batch = 128;
93-
bool time_kernel = true;
93+
bool time_kernel = false;
9494
};
9595

9696
bool run_grouped_gemm(const ProblemSize& problem_size, const ExecutionConfig& config)

example/15_grouped_gemm/grouped_gemm_multiple_d_xdl_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct ExecutionConfig final
8989
{
9090
bool do_verification = true;
9191
int init_method = 1;
92-
bool time_kernel = true;
92+
bool time_kernel = false;
9393
};
9494

9595
bool run_grouped_gemm(const ProblemSize& problem_size, const ExecutionConfig& config)

example/16_gemm_multi_d_multi_reduces/gemm_add_add_mean_meansquare_xdl_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ int main()
268268
pass &= ck::utils::check_err(r1_m, r1_m_host, "Error: Incorrect results d1", 1e-2, 1e-2);
269269
}
270270

271-
bool time_kernel = true;
271+
bool time_kernel = false;
272272
if(time_kernel)
273273
{
274274
float ave_time = invoker.Run(argument, StreamConfig{nullptr, time_kernel});

example/16_gemm_multi_d_multi_reduces/gemm_add_addsquare_xdl_int8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ int main(int argc, char* argv[])
302302
{
303303
bool do_verification = true;
304304
int init_method = 1;
305-
bool time_kernel = true;
305+
bool time_kernel = false;
306306

307307
// GEMM shape
308308
ck::index_t M = 1024;

0 commit comments

Comments
 (0)