Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 20f109b

Browse files
authored
Updated SQL for view (#93)
1 parent 204250d commit 20f109b

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

db_tools/create_view.sql

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
CREATE OR REPLACE VIEW torchmlir_benchmark_view AS
22
SELECT
33
id,
4-
REPLACE(REPLACE(CONCAT(host, '-', compiler, '-', dtype, '-', tag), 'torchscript', 'ts'), '-ci', '') AS backend,
4+
REPLACE(
5+
REPLACE(
6+
REPLACE(
7+
REPLACE(
8+
REPLACE(
9+
REPLACE(
10+
CONCAT(host, '-', compiler, '-', dtype, '-', tag),
11+
'torchscript', 'ts'),
12+
'-ci', ''),
13+
'ts_onednn', 'onednn'),
14+
'ipex_onednn_graph', 'ipex_gc'),
15+
'bfloat16', 'b16'),
16+
'float32', 'f32'
17+
) AS backend,
518
host,
619
device,
720
compiler,
8-
dtype,
21+
REPLACE(REPLACE(dtype, 'bfloat16', 'b16'), 'float32', 'f32') AS dtype,
922
tag,
1023
benchmark,
1124
benchmark_desc,

0 commit comments

Comments
 (0)