Skip to content

Commit e16dfd0

Browse files
authored
[Comgr] Add test for Comgr Profiler (llvm#2676)
1 parent c96bb6f commit e16dfd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

amd/comgr/test-lit/time-statistics.cl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// COM: Check for any runtime errors with the Comgr Profilier
2+
// RUN: AMD_COMGR_TIME_STATISTICS=1 compile-minimal-test %s %t.bin
3+
// RUN: test -f PerfStatsLog.txt
4+
5+
void kernel add(__global float *A, __global float *B, __global float *C) {
6+
*C = *A + *B;
7+
}

0 commit comments

Comments
 (0)