diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0094_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0094_0.jpg deleted file mode 100644 index 240c7974f7f4185481a4f5b4f74acd8f5c2a64d5..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0094_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0095_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0095_0.jpg deleted file mode 100644 index 1c9c7f44654fc5316d9b3405fc1f60ef4acd1e53..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0095_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0096_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0096_0.jpg deleted file mode 100644 index 05169571b0d1dc5e0b351b2d43ba3b0b99677e12..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0096_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0097_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0097_0.jpg deleted file mode 100644 index 7689dd9dd5108fb4b07d618082ff7d8f8fcc43e7..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0097_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0098_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0098_0.jpg deleted file mode 100644 index 1d7a084884e86976d42808b11b4ed747a04d9b31..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0098_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0099_0.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0099_0.jpg deleted file mode 100644 index ffc3c652290951358de28f01e2b0ca94bead2e81..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/0099_0.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1000_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1000_1.jpg deleted file mode 100644 index 38fb0c20e0fa61c8bacbcfcd89de1e22623e56e9..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1000_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1001_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1001_1.jpg deleted file mode 100644 index 544195b3905232947ef1178615e97d1384f8e5d6..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1001_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1002_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1002_1.jpg deleted file mode 100644 index 2b0f45aee03b6ddb4ab6144c838005506f1285c3..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1002_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1003_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1003_1.jpg deleted file mode 100644 index e8a5828a07b0d6d1c058d3f0d98375db5954a53c..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1003_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1004_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1004_1.jpg deleted file mode 100644 index 7c6930a535ad09c589741ba68656d19d50445485..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1004_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1005_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1005_1.jpg deleted file mode 100644 index e25720f9a245249ddbd87ef6fdc9b8f8e2147c09..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1005_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1006_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1006_1.jpg deleted file mode 100644 index 03f2b468f388e1d084d341eaa051ba0fd0a8a637..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1006_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1007_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1007_1.jpg deleted file mode 100644 index fd79e37669e8aff0fb4151484f330d2bc47de217..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1007_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1008_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1008_1.jpg deleted file mode 100644 index cadf7599fc9b4d539909ed5e38492decaf48c04a..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1008_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1009_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1009_1.jpg deleted file mode 100644 index 164b7d8e4c5bd808fb9f7cc03cc60ccb9c9521ce..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1009_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1010_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1010_1.jpg deleted file mode 100644 index 605dea850a2de47575cd8bd9d049b32a1a44c9c4..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1010_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1011_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1011_1.jpg deleted file mode 100644 index 6620c02c597ada53c6be2f0c5d3a38b30eea729b..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1011_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1012_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1012_1.jpg deleted file mode 100644 index 6386c3ebef7d611069559ce3014342aa2b217ab4..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1012_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1013_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1013_1.jpg deleted file mode 100644 index 71b4a297fb25f25cc6d73426478d25c8dadaca71..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1013_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1014_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1014_1.jpg deleted file mode 100644 index bc3235ac6cf2832f0082739d5b2551f1b9789ec3..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1014_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1015_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1015_1.jpg deleted file mode 100644 index be895961953cbdc1d8d7b4e83f8ec3907d23964b..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1015_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1016_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1016_1.jpg deleted file mode 100644 index cf63109de42c8ec211e0f479cf6caf122d65038d..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1016_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1017_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1017_1.jpg deleted file mode 100644 index fa884d598348d44902fe245abf322cf98385891e..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1017_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1018_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1018_1.jpg deleted file mode 100644 index fb8a10031464adbc9988bd721eb3479d8d911978..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1018_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1019_1.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1019_1.jpg deleted file mode 100644 index f89fc5c9d8b23da2740384df29ae33010ac0c39d..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/1019_1.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2000_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2000_2.jpg deleted file mode 100644 index 18ca7431901ef52f5776ca96c90ce52c640d2c7e..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2000_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2001_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2001_2.jpg deleted file mode 100644 index 9b2226d8eb4a5d578ca445b5bea259099a853577..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2001_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2002_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2002_2.jpg deleted file mode 100644 index 75d37c919b5ae93ed1bdae561869dbca55e50e15..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2002_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2003_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2003_2.jpg deleted file mode 100644 index b977eb72af3705f9f5103e4912c85c43db47498f..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2003_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2004_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2004_2.jpg deleted file mode 100644 index 56c9d7e67dd64a27e7b18b3bbe0da0fccf13ff06..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2004_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2005_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2005_2.jpg deleted file mode 100644 index 463e66fd7fcb175a3fdb055cba79f8ba784b33cb..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2005_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2006_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2006_2.jpg deleted file mode 100644 index c648f7a41d8003ab6c11c9cef0f897e68e175fc9..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2006_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2007_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2007_2.jpg deleted file mode 100644 index 298aeb1969c2d3de9d0050e48b091a61364b62f1..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2007_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2008_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2008_2.jpg deleted file mode 100644 index 6351c2331044067436a2f36f1743599b04f215a5..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2008_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2009_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2009_2.jpg deleted file mode 100644 index b14cad5e2dec4c9bf98c01b2ea3dadffa6b7ae8f..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2009_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2010_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2010_2.jpg deleted file mode 100644 index dcc0f55bcc4112e9ba06c9d72e9321e8edc5ae6b..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2010_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2011_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2011_2.jpg deleted file mode 100644 index a0f7e5d667ae38c149f89bfbbfea73646779c7e2..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2011_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2012_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2012_2.jpg deleted file mode 100644 index 481205e1d454511bc3811b1e8c000317525f784b..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2012_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2013_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2013_2.jpg deleted file mode 100644 index 76d8171e0b4e2f50fa68416d0a1c549f1e6590fe..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2013_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2014_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2014_2.jpg deleted file mode 100644 index 16eb2d82ff591c9888ee068a314a19fef04d67a6..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2014_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2015_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2015_2.jpg deleted file mode 100644 index 21738e04fbeb4c94885b516b464a4ab5dc8c7dc3..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2015_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2016_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2016_2.jpg deleted file mode 100644 index 684855b4ddccdbd8ae18665bedce6d2513b6aa0e..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2016_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2017_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2017_2.jpg deleted file mode 100644 index 394e11bb3897f9594c9e6e5f0d05aca804283c24..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2017_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2018_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2018_2.jpg deleted file mode 100644 index 0b26204db8c85c7d63eaac1aca6b8e4dc2747a66..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2018_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2019_2.jpg b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2019_2.jpg deleted file mode 100644 index a0d5f7d8f097f776d74c9c870727d20eca8296f1..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/images/2019_2.jpg and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/approxhpvm_src.cc b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/approxhpvm_src.cc deleted file mode 100644 index d8985397705cf19d5533a7e4a376a71a9f130fb0..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/approxhpvm_src.cc +++ /dev/null @@ -1,430 +0,0 @@ - -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <fcntl.h> -#include <sys/stat.h> -#include <cstring> -#include <visc.h> -#include <tensorTypes.h> -#include <tensorUtils.h> - -void var_0_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_convolution(t1, t2, 0, 0, 1, 1); - __visc__return(2, r, (size_t) 0); -} - -void var_1_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_2_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_relu(t1); - __visc__return(2, r, (size_t) 0); -} - -void var_3_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_convolution(t1, t2, 0, 0, 1, 1); - __visc__return(2, r, (size_t) 0); -} - -void var_4_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_5_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_relu(t1); - __visc__return(2, r, (size_t) 0); -} - -void var_6_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2); - __visc__return(2, r, (size_t) 0); -} - -void var_7_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_convolution(t1, t2, 0, 0, 1, 1); - __visc__return(2, r, (size_t) 0); -} - -void var_8_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_9_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_relu(t1); - __visc__return(2, r, (size_t) 0); -} - -void var_10_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_convolution(t1, t2, 0, 0, 1, 1); - __visc__return(2, r, (size_t) 0); -} - -void var_11_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_12_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_relu(t1); - __visc__return(2, r, (size_t) 0); -} - -void var_13_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2); - __visc__return(2, r, (size_t) 0); -} - -void var_14_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_mul(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_15_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_16_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_relu(t1); - __visc__return(2, r, (size_t) 0); -} - -void var_17_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_mul(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_18_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(2, t1, t2, 0); - - void *r = __visc__tensor_add(t1, t2); - __visc__return(2, r, (size_t) 0); -} - -void var_19_node(void* t1, size_t bytes_t1) { - __visc__hint(visc::CUDNN_TARGET); - __visc__attributes(1, t1, 0); - - void* r = __visc__tensor_softmax(t1); - __visc__return(2, r, (size_t) 0); -} - -void root(void* input, size_t input_bytes, - void* conv2d_1_w, size_t conv2d_1_w_bytes, - void* conv2d_1_b, size_t conv2d_1_b_bytes, - void* conv2d_2_w, size_t conv2d_2_w_bytes, - void* conv2d_2_b, size_t conv2d_2_b_bytes, - void* conv2d_3_w, size_t conv2d_3_w_bytes, - void* conv2d_3_b, size_t conv2d_3_b_bytes, - void* conv2d_4_w, size_t conv2d_4_w_bytes, - void* conv2d_4_b, size_t conv2d_4_b_bytes, - void* dense_1_w, size_t dense_1_w_bytes, - void* dense_1_b, size_t dense_1_b_bytes, - void* dense_2_w, size_t dense_2_w_bytes, - void* dense_2_b, size_t dense_2_b_bytes){ - - - __visc__hint(visc::CPU_TARGET); - __visc__attributes(13, input, conv2d_1_w, conv2d_1_b, conv2d_2_w, conv2d_2_b, conv2d_3_w, conv2d_3_b, conv2d_4_w, conv2d_4_b, dense_1_w, dense_1_b, dense_2_w, dense_2_b, 0); - - - void* var_0 = __visc__createNodeND(0, var_0_node); - - __visc__bindIn(var_0, 0, 0, 0); - __visc__bindIn(var_0, 1, 1, 0); - __visc__bindIn(var_0, 2, 2, 0); - __visc__bindIn(var_0, 3, 3, 0); - - void* var_1 = __visc__createNodeND(0, var_1_node); - - __visc__edge(var_0, var_1, 1, 0, 0, 0); - __visc__edge(var_0, var_1, 1, 1, 1, 0); - __visc__bindIn(var_1, 4, 2, 0); - __visc__bindIn(var_1, 5, 3, 0); - - void* var_2 = __visc__createNodeND(0, var_2_node); - - __visc__edge(var_1, var_2, 1, 0, 0, 0); - __visc__edge(var_1, var_2, 1, 1, 1, 0); - - void* var_3 = __visc__createNodeND(0, var_3_node); - - __visc__edge(var_2, var_3, 1, 0, 0, 0); - __visc__edge(var_2, var_3, 1, 1, 1, 0); - __visc__bindIn(var_3, 6, 2, 0); - __visc__bindIn(var_3, 7, 3, 0); - - void* var_4 = __visc__createNodeND(0, var_4_node); - - __visc__edge(var_3, var_4, 1, 0, 0, 0); - __visc__edge(var_3, var_4, 1, 1, 1, 0); - __visc__bindIn(var_4, 8, 2, 0); - __visc__bindIn(var_4, 9, 3, 0); - - void* var_5 = __visc__createNodeND(0, var_5_node); - - __visc__edge(var_4, var_5, 1, 0, 0, 0); - __visc__edge(var_4, var_5, 1, 1, 1, 0); - - void* var_6 = __visc__createNodeND(0, var_6_node); - - __visc__edge(var_5, var_6, 1, 0, 0, 0); - __visc__edge(var_5, var_6, 1, 1, 1, 0); - - void* var_7 = __visc__createNodeND(0, var_7_node); - - __visc__edge(var_6, var_7, 1, 0, 0, 0); - __visc__edge(var_6, var_7, 1, 1, 1, 0); - __visc__bindIn(var_7, 10, 2, 0); - __visc__bindIn(var_7, 11, 3, 0); - - void* var_8 = __visc__createNodeND(0, var_8_node); - - __visc__edge(var_7, var_8, 1, 0, 0, 0); - __visc__edge(var_7, var_8, 1, 1, 1, 0); - __visc__bindIn(var_8, 12, 2, 0); - __visc__bindIn(var_8, 13, 3, 0); - - void* var_9 = __visc__createNodeND(0, var_9_node); - - __visc__edge(var_8, var_9, 1, 0, 0, 0); - __visc__edge(var_8, var_9, 1, 1, 1, 0); - - void* var_10 = __visc__createNodeND(0, var_10_node); - - __visc__edge(var_9, var_10, 1, 0, 0, 0); - __visc__edge(var_9, var_10, 1, 1, 1, 0); - __visc__bindIn(var_10, 14, 2, 0); - __visc__bindIn(var_10, 15, 3, 0); - - void* var_11 = __visc__createNodeND(0, var_11_node); - - __visc__edge(var_10, var_11, 1, 0, 0, 0); - __visc__edge(var_10, var_11, 1, 1, 1, 0); - __visc__bindIn(var_11, 16, 2, 0); - __visc__bindIn(var_11, 17, 3, 0); - - void* var_12 = __visc__createNodeND(0, var_12_node); - - __visc__edge(var_11, var_12, 1, 0, 0, 0); - __visc__edge(var_11, var_12, 1, 1, 1, 0); - - void* var_13 = __visc__createNodeND(0, var_13_node); - - __visc__edge(var_12, var_13, 1, 0, 0, 0); - __visc__edge(var_12, var_13, 1, 1, 1, 0); - - void* var_14 = __visc__createNodeND(0, var_14_node); - - __visc__edge(var_13, var_14, 1, 0, 0, 0); - __visc__edge(var_13, var_14, 1, 1, 1, 0); - __visc__bindIn(var_14, 18, 2, 0); - __visc__bindIn(var_14, 19, 3, 0); - - void* var_15 = __visc__createNodeND(0, var_15_node); - - __visc__edge(var_14, var_15, 1, 0, 0, 0); - __visc__edge(var_14, var_15, 1, 1, 1, 0); - __visc__bindIn(var_15, 20, 2, 0); - __visc__bindIn(var_15, 21, 3, 0); - - void* var_16 = __visc__createNodeND(0, var_16_node); - - __visc__edge(var_15, var_16, 1, 0, 0, 0); - __visc__edge(var_15, var_16, 1, 1, 1, 0); - - void* var_17 = __visc__createNodeND(0, var_17_node); - - __visc__edge(var_16, var_17, 1, 0, 0, 0); - __visc__edge(var_16, var_17, 1, 1, 1, 0); - __visc__bindIn(var_17, 22, 2, 0); - __visc__bindIn(var_17, 23, 3, 0); - - void* var_18 = __visc__createNodeND(0, var_18_node); - - __visc__edge(var_17, var_18, 1, 0, 0, 0); - __visc__edge(var_17, var_18, 1, 1, 1, 0); - __visc__bindIn(var_18, 24, 2, 0); - __visc__bindIn(var_18, 25, 3, 0); - - void* var_19 = __visc__createNodeND(0, var_19_node); - - __visc__edge(var_18, var_19, 1, 0, 0, 0); - __visc__edge(var_18, var_19, 1, 1, 1, 0); - - __visc__bindOut(var_19, 0, 0, 0); - __visc__bindOut(var_19, 1, 1, 0); - -} - -struct ret_t { - void* tensor; - size_t bytes; -}; - -typedef struct __attribute__((__packed__)) { - void* input; - size_t input_bytes; - void* conv2d_1_w; - size_t conv2d_1_w_bytes; - void* conv2d_1_b; - size_t conv2d_1_b_bytes; - void* conv2d_2_w; - size_t conv2d_2_w_bytes; - void* conv2d_2_b; - size_t conv2d_2_b_bytes; - void* conv2d_3_w; - size_t conv2d_3_w_bytes; - void* conv2d_3_b; - size_t conv2d_3_b_bytes; - void* conv2d_4_w; - size_t conv2d_4_w_bytes; - void* conv2d_4_b; - size_t conv2d_4_b_bytes; - void* dense_1_w; - size_t dense_1_w_bytes; - void* dense_1_b; - size_t dense_1_b_bytes; - void* dense_2_w; - size_t dense_2_w_bytes; - void* dense_2_b; - size_t dense_2_b_bytes; - - struct ret_t r; -} -RootIn; - -int main(){ - -std::string dir_prefix = std::string("hpvm_mio_4/"); -std::string input_path = dir_prefix + std::string("input.bin"); -std::string labels_path = dir_prefix + std::string("labels.bin"); -std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); -void* conv2d_1_w = readTrainedWeights(conv2d_1_w_path.c_str(), 0,32,3,3,3); -std::string conv2d_1_b_path = dir_prefix + std::string("conv2d_1_b.bin"); -void* conv2d_1_b = readTrainedWeights(conv2d_1_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_2_w_path = dir_prefix + std::string("conv2d_2_w.bin"); -void* conv2d_2_w = readTrainedWeights(conv2d_2_w_path.c_str(), 0,32,32,3,3); -std::string conv2d_2_b_path = dir_prefix + std::string("conv2d_2_b.bin"); -void* conv2d_2_b = readTrainedWeights(conv2d_2_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_3_w_path = dir_prefix + std::string("conv2d_3_w.bin"); -void* conv2d_3_w = readTrainedWeights(conv2d_3_w_path.c_str(), 0,64,32,3,3); -std::string conv2d_3_b_path = dir_prefix + std::string("conv2d_3_b.bin"); -void* conv2d_3_b = readTrainedWeights(conv2d_3_b_path.c_str(), 0,1,64,1,1); -std::string conv2d_4_w_path = dir_prefix + std::string("conv2d_4_w.bin"); -void* conv2d_4_w = readTrainedWeights(conv2d_4_w_path.c_str(), 0,64,64,3,3); -std::string conv2d_4_b_path = dir_prefix + std::string("conv2d_4_b.bin"); -void* conv2d_4_b = readTrainedWeights(conv2d_4_b_path.c_str(), 0,1,64,1,1); -std::string dense_1_w_path = dir_prefix + std::string("dense_1_w.bin"); -void* dense_1_w = readTrainedWeights(dense_1_w_path.c_str(), 0,1,1,1600,256); -std::string dense_1_b_path = dir_prefix + std::string("dense_1_b.bin"); -void* dense_1_b = readTrainedWeights(dense_1_b_path.c_str(), 0,1,256,1,1); -std::string dense_2_w_path = dir_prefix + std::string("dense_2_w.bin"); -void* dense_2_w = readTrainedWeights(dense_2_w_path.c_str(), 0,1,1,256,5); -std::string dense_2_b_path = dir_prefix + std::string("dense_2_b.bin"); -void* dense_2_b = readTrainedWeights(dense_2_b_path.c_str(), 0,1,5,1,1); -void* input = readTrainedWeights(input_path.c_str(), 0,5000,3,32,32); -uint32_t* labels = readLabels2(labels_path.c_str(),5000); - -__visc__init(); -RootIn* args = static_cast<RootIn*>(malloc(sizeof(RootIn))); - -args->input = input; -args->input_bytes = 0; -args->conv2d_1_w = conv2d_1_w; -args->conv2d_1_w_bytes = 0; -args->conv2d_1_b = conv2d_1_b; -args->conv2d_1_b_bytes = 0; -args->conv2d_2_w = conv2d_2_w; -args->conv2d_2_w_bytes = 0; -args->conv2d_2_b = conv2d_2_b; -args->conv2d_2_b_bytes = 0; -args->conv2d_3_w = conv2d_3_w; -args->conv2d_3_w_bytes = 0; -args->conv2d_3_b = conv2d_3_b; -args->conv2d_3_b_bytes = 0; -args->conv2d_4_w = conv2d_4_w; -args->conv2d_4_w_bytes = 0; -args->conv2d_4_b = conv2d_4_b; -args->conv2d_4_b_bytes = 0; -args->dense_1_w = dense_1_w; -args->dense_1_w_bytes = 0; -args->dense_1_b = dense_1_b; -args->dense_1_b_bytes = 0; -args->dense_2_w = dense_2_w; -args->dense_2_w_bytes = 0; -args->dense_2_b = dense_2_b; -args->dense_2_b_bytes = 0; - -void* dfg = __visc__launch(0, root, (void*) args); - -__visc__wait(dfg); - -void *result = static_cast<RootIn*>(args)->input; -hpvm_request_tensor(result, 0); - -__visc__cleanup(); - computeAccuracy3(labels, result); -return 0; - -} diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/compareDenseWeights.py b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/compareDenseWeights.py deleted file mode 100644 index 2a323bb65028b253c8070a3b90c1f82be6f78d70..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/compareDenseWeights.py +++ /dev/null @@ -1,42 +0,0 @@ - - -import numpy as np -import os -import sys - - -if __name__ == "__main__": - - f_path = "dense_1_w_fp16_trans.bin" - - dim1 = 1600 - dim2 = 256 - #dim1 = 256 - #dim2 = 5 - - print (f_path, dim1, dim2) - x = np.fromfile(f_path, dtype='float16') - - x_reshaped = np.reshape(x, (dim1, dim2)) - x_transposed = np.transpose(x_reshaped, (1, 0)) - - print ("old = ", x_transposed) - - f_path = "dense_1_w_fp16.bin" - #dim1 = 256 - #dim2 = 5 - dim1 = 1600 - dim2 = 256 - - print (f_path, dim1, dim2) - - x = np.fromfile(f_path, dtype='float16') - x_reshaped = np.reshape(x, (dim2, dim1)) - - print ("new = ", x_reshaped) - - - - - - diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/compareDenseWeights.py~ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/compareDenseWeights.py~ deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16.bin deleted file mode 100644 index 92fa27c1ac651a1430650a3f1ddbaa5665788302..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16_trans.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16_trans.bin deleted file mode 100644 index 7e2d4620fdb6e22f8c08e7ca2ad83778b45592d4..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_1_w_fp16_trans.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16.bin deleted file mode 100644 index 1fd5d45e772c3767c86e524af4260554b49f4eaa..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16_trans.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16_trans.bin deleted file mode 100644 index 082b2b57ccd34a11ee353983f6345727e2d561dd..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/comp_files/dense_2_w_fp16_trans.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b.bin deleted file mode 100644 index 39c3fbac7f94a6824736f8b21f184b71b3d45a7b..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b.bin +++ /dev/null @@ -1,2 +0,0 @@ -αÝ>aŸ¾Ì?N?„œQ¿JÙ%½t‰¼ªl©=™&¼½œ ¿¿^L8?د>r¾:õö¾ νóù¼š¶?B Y?–;Uì>ç—=€ëh?rXö½ï -‹=&ç½Ýˆ™½C#S>¥”½7ü¹>vÉ…>ɇ¿!? \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b_fp16.bin deleted file mode 100644 index 9631d745d536c0a56bfdeaafbf4c7c4796f4f275..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_b_fp16.bin +++ /dev/null @@ -1 +0,0 @@ -î6û´€8D8º/©H¤K-áý½Â9õ0³¸·v¨È§Ö8É:1e7¸,G;³¯X,9¯Ì¬™2 ¬Ð5.4ܸ)8 \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w.bin deleted file mode 100644 index d01508286ed5fddf05790e261efa168847699efd..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w_fp16.bin deleted file mode 100644 index ad23a9294da4148cf232c429007ae031bc92ffc7..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_1_w_fp16.bin +++ /dev/null @@ -1,8 +0,0 @@ -«³B7+8n63K·ñµ ›V4¾)*¯É°ú¯¹²¾¶V² ¶À¢™®ñ¬Ï´È²<° ·¨·¡¶õ7L6Ï2904¾/¼2¹:5;×°5·"°x³÷¸p¶{³±g$ë¶ë“³Ð³ˆ®Ú±#¸yµf±” óv6=»º8$¤+7b´Ô¶íµÒ2„ºàºO4»}·±2¶+ƒ2ä6Ï,É2eªª"¯74.u2B±œ¹¶ý1+°ž+å§ð¢T7𹨰ÜS»†´^¬R¼Í±ï5 3Ñ/Æ/h0¶ž%¹0~2(½I4.<!?@»r¬P³3Sµ¬5ø2*± 8·1á567.6µ´0Gµd¸0˜ª‚´©83Ì)j5Š3œ*„44,0-~±u®ó5=8É7ñ0ð0ž¦í²ž´Ò¬{¶µã²¿·è±É·„°µÊ·<¸ù8¼Àÿ<µ‘¶¸*?Ï·g5Å0¶q4µ4 û8Ž;]4€¸_µ±†,¬‡²¶/Ÿ#7³´?4Y¿I´.´È5'4F:Úº§4?4Z².+.8Ž¯S7€6ì2‰¬“¬ª ³³¬Ñ¢±\/T± 1Φæ+$(1š%Q1#s"U±#.«s¨•®»¯;²ý«d0Z%¦±î,}±é°4¡Å¸Ã1œ4u2„¡ã6™<;í·ºy²®´³®µ5j<09µ´o$óµä´Yd°(4r,Ù¨0´ï¶5µ·¸z±x´^³]4ä4/™±Rµ2¶+2Ü';©²§w®r´ž£Œ.l¬Í0’/7>,¾¤½¼[ª»½;¾+7x:05þ6;<>.Ô3š8Æ4ô¯¡°(ñ©C%á0‹±(‰¢r3.ըͩ,9/œ7£/,°²^´”ªÌ/s¯4Ò¤¢•q²¬²W¨u/L¯y3;%´x3~/$3ܪ¬²Š¦ë´L´ê0I4!5é5Í/Ä/85€¯- 5гg³²¤´§¯€´Ð¬F*]3ê°è-D1{,»¯’°Á°Õ°=®ZªN˜X¨¶²´³•°¢°Œ)%±¬,/:±h-w%·/¯©È¢÷)õª•)Ÿ¥)¨4©^¬•Û°¼¬¥°}ªs!I´¯¿.%ý'H*ž+ž¨n+|®¼¯²ô¹L9Z´¸Ñ³7i#ä;Ž¸e´ð¬!¸ µ¢µÃ³K¬/0M¨ˆ´½³B0¸›ã,"0š Î)é¸d±5>¥”¸.°ž-)923a)Š2ض–'ܲÕ-°ºh0=.µ*ͬ°²…«0Ô-z8í>ÿ*–=±œºµŠ´š±n±µP¹Ò·-,··›¸·²Í»»25Þ4(b1*2•.ƒ1þ¨ï)B¹K(Ø°M:n°?¸B0³5;Z¶.ºb·33¸bµ²L¹²D1715616á±$$½2تWµ 8 ¿…:³·<|¶&=´®Ã³ -¥=µX.b§j´¬4/WºM'i¢/,.ô¨ò¦P¢¯(^,Ÿ4><¾8þµ2¹¿·íºS´Y¯š6 -4zµlµž¹Á¸ô+¨)°Ö$€4ʵS´a¶™°©¶(æ±’²D3\±²È.0†,Z«¶/p/û5Ü' -´!1sŠ°¨(€.Â0O¯Ð±×¬p&(g´;¹Xº3¼Ë´Ç= ±<9_;E´(À4ˆ®q«8Þµ¼)ô2š¯(–²ªH/¬0«°p´°y©£d²…«ý¯}²a.8ªV°+-±"7¨d+„©±k¬¬±+¢x¡$«ß,ì #÷¨õ‡/Шø¨º$À–-T®a7' -¬ì'U+o)~,é*¸®=,..y¦"«5¨q°O$ï¯X©\ª9±-Ø|²e-'³;¨¿¥[±L°—²–ªX²L´Ï&´ý³Ý±Ù«Â/Z©«:.x1 - 9©F©u¬†*%E¬œ›¨±E(”¬Ç°á(°ð'Â, -©:¨Î¤~±sX$â,¬P©2ª)²°±Ú°_&ê&(‘-ž2 -°®´÷¶e¶Õ)+ª0$3U/ά¨ª9±8±'1y•o'°X,åµ,¶´Æ²²²i)µj9P6À0ǵà3X¹Á6Ò3‰°+Ó2*1=4™¨³¸D/<.¾¦ª¯'²7¶j±½¶w¸ µ´n@Ú:»°”¶!>ï¸ .¸½í- 8ú¬%4¸/D¦y(f4*0¶¯„+~°ß«'´Ü(Mõ 4ö²A,·A-·8$5´d±:/ ³Qí´¸È-H³Ò¸]¸®4§.v0q³O*Ÿ/ݬô´Õ´ \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b.bin deleted file mode 100644 index 39489675632774a46e0ea704d7d13807b2e4feb5..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b.bin +++ /dev/null @@ -1,2 +0,0 @@ -„§Ÿ½æ.î=•·?¾Š¥¿vƒ¿ºS¿Óë†»Þ > -Qżøæ¼å—8¿ÂVä».I>Æp𼄃;dd=h䈾Ðé¾N½.¾ÓñÍ=/Ú¾ŒÖl¾×;¾ð4¾6ƒ>cTʾR¶ ¼ê¿¾ô2Í=c_¨¾¾ÚZ¾ \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b_fp16.bin deleted file mode 100644 index 4844b63d806a5844d19e30e55ebb872bdad74c03..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_b_fp16.bin +++ /dev/null @@ -1 +0,0 @@ -ý¬q/þ±)½¼˜º7œ1+¦1§Å¹#ŸI2„§ë,G´Ç°v±p.жg³"°¨±4S¶N †´j.Cµ¡°;° \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w.bin deleted file mode 100644 index 381b72379b85614a79910c9560c6115310da538a..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w_fp16.bin deleted file mode 100644 index 1722ded17fea283033fabc5560ef3cf32abbfaf6..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_2_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b.bin deleted file mode 100644 index 43fe41a6edcae03a1a531123940e528a71807300..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b.bin +++ /dev/null @@ -1 +0,0 @@ -˜Ò½Ê+¥½ò?Š$ù¾méÊ>(>¼½hŠ >qÂB½y²*½‚ì>IÒ¸>»Kˆ?@ ¨¼t\¢?æH¾ •=ùÔý>…œ;½_å—>Ÿfœ=;┿®Œû>›jÞ¾DâÓ»×Á‰¾šU>·`†? Éc>ÈŽ?Õª?Ÿ·/<#&?—?ôðš¾Dy<Hbf¾lò:?ÑwS¾M )>}¾«t ¾Ÿt'?ö¥ú¿´$¾<¥!æ½ œ?Ë¡½c’‹<Za¾>E5“>0Jê>p9J¾†žÁ>ÞWð>nèr>e–'?¹+R¿Gž>kæò;·bÆ¿²àR>˜{ÿ>ãš½ \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b_fp16.bin deleted file mode 100644 index fdc50f0e4011592bbb030496e839ee3c088a859d..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_b_fp16.bin +++ /dev/null @@ -1 +0,0 @@ -•®)@8É·W6â1ªV©0Ç5¬˜8E¥=@² (ï7Ý©¿4ã,§¼Ü7󶟞N´¨23<3v<8~!198Ø´É#3³Ø9œ²H19°±<9Õ¿ñ%1¯à<-¨]$ó5š4R7R² 6ƒ7—3=9‘ºò4—3¾—2ü7׬ \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w.bin deleted file mode 100644 index a82a9e397918217bf37873c59dd92bee713fa9df..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w_fp16.bin deleted file mode 100644 index 32dffae528c521e4fb1ea3b43a7585db6ea957e3..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_3_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b.bin deleted file mode 100644 index bd29ee60df1f0f0b3a199f1f65adb810a2649a3c..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b_fp16.bin deleted file mode 100644 index 81fd1a1ec63fd155256a361bb78ee8bee83ce6d5..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_b_fp16.bin +++ /dev/null @@ -1,2 +0,0 @@ -‰NX¯21ýã«z²¨02$I7·´{®½0o´#´Y5&úµ 4°5 -µè®.h¡‰2k4 ®“¶Œ&O²0Q°h9Ã4U4×49n.Õ5®²ê55_5Œ±!£m§Å´q"±³æµý246vµ®:³€4ä.J(ú°^¸t°R8*' \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w.bin deleted file mode 100644 index 7f6211e76617ee18dac06c9b5449c18183a149de..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w_fp16.bin deleted file mode 100644 index ae62aa7b5c8e5fb53885171dad086456b31d4ff4..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/conv2d_4_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b.bin deleted file mode 100644 index fae8736fa3da691229c66e73962cb4f0131c2961..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b_fp16.bin deleted file mode 100644 index 7cba7e7cbcb6a01146ab9b28658ad58f7b14aa0f..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_b_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w.bin deleted file mode 100644 index 034b84905ae34893f5b57be77033fd91b388a80b..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16.bin deleted file mode 100644 index 92fa27c1ac651a1430650a3f1ddbaa5665788302..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16_trans.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16_trans.bin deleted file mode 100644 index 7e2d4620fdb6e22f8c08e7ca2ad83778b45592d4..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_1_w_fp16_trans.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b.bin deleted file mode 100644 index 2bb9d3e89f7d35a4e66063ec93baab23ef90b86e..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b.bin +++ /dev/null @@ -1 +0,0 @@ -k"õ;(¿¾òë>™¿JÄ@? \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b_fp16.bin deleted file mode 100644 index 018e1e7c82ef683f97972b9e056397cf18c0aa08..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_b_fp16.bin +++ /dev/null @@ -1 +0,0 @@ -©@¹`7…¸: \ No newline at end of file diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w.bin deleted file mode 100644 index f3bce42e01c37928d0cd54493835bcda70529bf2..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16.bin deleted file mode 100644 index 1fd5d45e772c3767c86e524af4260554b49f4eaa..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16_trans.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16_trans.bin deleted file mode 100644 index 082b2b57ccd34a11ee353983f6345727e2d561dd..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/dense_2_w_fp16_trans.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input.bin deleted file mode 100644 index 0abae55bf84ff5dc8e2d1074c97853331fc5d879..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input_fp16.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input_fp16.bin deleted file mode 100644 index d8bc62ddbfd9cb594d54777f4f36a65db8288434..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/input_fp16.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/labels.bin b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/labels.bin deleted file mode 100644 index effaef8583b30228039ff7f61d9c6be51c020b49..0000000000000000000000000000000000000000 Binary files a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/labels.bin and /dev/null differ diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layer_composition.txt b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layer_composition.txt deleted file mode 100644 index 54ef6c9f01517d20355681b1d19c8b865daf514c..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layer_composition.txt +++ /dev/null @@ -1,6 +0,0 @@ -conv add activation -conv add activation pool -conv add activation -conv add activation pool -dense add activation -dense add diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layers.txt b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layers.txt deleted file mode 100644 index c0aecb467775babfd4b5c2873abf287905ee11f8..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/layers.txt +++ /dev/null @@ -1,6 +0,0 @@ -Conv1,5000,3,32,32,32,3,3,3 -Conv2,5000,32,30,30,32,32,3,3 -Conv3,5000,32,14,14,64,32,3,3 -Conv4,5000,64,12,12,64,64,3,3 -FC1,5000,1600,1600,256 -FC2,5000,256,256,5 diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/promise_src.cc b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/promise_src.cc deleted file mode 100644 index fd96ab0878269718c58c52115a22b79e2f62ec99..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/promise_src.cc +++ /dev/null @@ -1,93 +0,0 @@ - -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <fcntl.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <string.h> -#include "../../../tensor_runtime/include/tensor_runtime.h" -#include "../../include/utils.h" - -int main(){ - -llvm_hpvm_initTensorRt(0); - -int total_runs = 100; -for (int i = 0 ; i < total_runs; i++){ - - -startMemTracking(); - -int test_input_size = 5000; -int batch_size = 5000; -int batch_count = test_input_size / batch_size; -float final_accuracy = 0.0; - -for(int i = 0; i < batch_count; i++){ - - - -std::string dir_prefix = std::string("hpvm_mio_4/"); -std::string input_path = dir_prefix + std::string("input.bin"); -std::string labels_path = dir_prefix + std::string("labels.bin"); -std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); -void* conv2d_1_w = readTrainedWeights(conv2d_1_w_path.c_str(), 0,32,3,3,3); -std::string conv2d_1_b_path = dir_prefix + std::string("conv2d_1_b.bin"); -void* conv2d_1_b = readTrainedWeights(conv2d_1_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_2_w_path = dir_prefix + std::string("conv2d_2_w.bin"); -void* conv2d_2_w = readTrainedWeights(conv2d_2_w_path.c_str(), 0,32,32,3,3); -std::string conv2d_2_b_path = dir_prefix + std::string("conv2d_2_b.bin"); -void* conv2d_2_b = readTrainedWeights(conv2d_2_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_3_w_path = dir_prefix + std::string("conv2d_3_w.bin"); -void* conv2d_3_w = readTrainedWeights(conv2d_3_w_path.c_str(), 0,64,32,3,3); -std::string conv2d_3_b_path = dir_prefix + std::string("conv2d_3_b.bin"); -void* conv2d_3_b = readTrainedWeights(conv2d_3_b_path.c_str(), 0,1,64,1,1); -std::string conv2d_4_w_path = dir_prefix + std::string("conv2d_4_w.bin"); -void* conv2d_4_w = readTrainedWeights(conv2d_4_w_path.c_str(), 0,64,64,3,3); -std::string conv2d_4_b_path = dir_prefix + std::string("conv2d_4_b.bin"); -void* conv2d_4_b = readTrainedWeights(conv2d_4_b_path.c_str(), 0,1,64,1,1); -std::string dense_1_w_path = dir_prefix + std::string("dense_1_w.bin"); -void* dense_1_w = readTrainedWeights(dense_1_w_path.c_str(), 0,1,1,1600,256); -std::string dense_1_b_path = dir_prefix + std::string("dense_1_b.bin"); -void* dense_1_b = readTrainedWeights(dense_1_b_path.c_str(), 0,1,256,1,1); -std::string dense_2_w_path = dir_prefix + std::string("dense_2_w.bin"); -void* dense_2_w = readTrainedWeights(dense_2_w_path.c_str(), 0,1,1,256,5); -std::string dense_2_b_path = dir_prefix + std::string("dense_2_b.bin"); -void* dense_2_b = readTrainedWeights(dense_2_b_path.c_str(), 0,1,5,1,1); - - -int start = i * batch_size; -int end = (i + 1) * batch_size; - -void* input = readInputBatch(input_path.c_str(),0,start,end,3,32,32); - -void* var_0 = ConvLayer_PROMISE(input, -2.682209e-07, 1.0000002, conv2d_1_w, -1.9097954802513122, 1.849404644250894, conv2d_1_b, -1.4970889, 0.90984344, 0, 0, 1, 1, -1, 0, 1, 0.0, 1.9360680677890976, 9); -void* var_1 = ConvLayer_PROMISE(var_0, 0.0, 1.9360680677890976, conv2d_2_w, -0.6551046761870384, 0.5357062590122245, conv2d_2_b, -1.2897198, 0.25627556, 0, 0, 1, 1, 0, 2, 1, 0.0, 3.61756298995042, 9); -void* var_2 = ConvLayer_PROMISE(var_1, 0.0, 3.61756298995042, conv2d_3_w, -0.479531730890274, 0.38338643845919407, conv2d_3_b, -1.9581897, 1.2684464, 0, 0, 1, 1, -1, 0, 1, 0.0, 4.717274737834942, 9); -void* var_3 = ConvLayer_PROMISE(var_2, 0.0, 4.717274737834942, conv2d_4_w, -0.37545250764489174, 0.3687883540093907, conv2d_4_b, -0.5458527, 0.6755934, 0, 0, 1, 1, 0, 2, 1, 0.0, 6.558154335499082, 9); -void* var_4 = FCLayer_PROMISE(var_3, 0.0, 6.558154335499082, dense_1_w, -0.19869577795267107, 0.2030584679543994, dense_1_b, -0.1697124, 0.22991186, 1, 0.0, 8.8694415378571, 9); -void* var_5 = FCLayer_PROMISE(var_4, 0.0, 8.8694415378571, dense_2_w, -0.38784850630164147, 0.387768742352725, dense_2_b, -0.65646386, 0.75299513, -1, -23.875294536590577, 35.08045856094383, 9); -void* var_6 = tensorSoftmax(var_5); - -uint32_t* labels = readLabelsBatch3(labels_path.c_str(),start,end); - -float accuracy = computeAccuracy3(labels, var_6); -final_accuracy += accuracy; -freeBatchMemory(); - -} - -final_accuracy = final_accuracy / batch_count; -dumpFinalAccuracy(final_accuracy); - - -} - -dumpExecutionAccuracies(); - -llvm_hpvm_cleanupTensorRt(); - -return 0; - -} diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py deleted file mode 100644 index 6c5d33cc8067b2489392d1dc5c30e9a9dd41ab03..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py +++ /dev/null @@ -1,18 +0,0 @@ - - -import numpy as np -import os -import sys - - -if __name__ == "__main__": - - f_path = "input.bin" - - x = np.fromfile(f_path, dtype='float32') - - print (x, np.min(x), np.max(x)) - - - - diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py~ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py~ deleted file mode 100644 index 2a323bb65028b253c8070a3b90c1f82be6f78d70..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/readInput.py~ +++ /dev/null @@ -1,42 +0,0 @@ - - -import numpy as np -import os -import sys - - -if __name__ == "__main__": - - f_path = "dense_1_w_fp16_trans.bin" - - dim1 = 1600 - dim2 = 256 - #dim1 = 256 - #dim2 = 5 - - print (f_path, dim1, dim2) - x = np.fromfile(f_path, dtype='float16') - - x_reshaped = np.reshape(x, (dim1, dim2)) - x_transposed = np.transpose(x_reshaped, (1, 0)) - - print ("old = ", x_transposed) - - f_path = "dense_1_w_fp16.bin" - #dim1 = 256 - #dim2 = 5 - dim1 = 1600 - dim2 = 256 - - print (f_path, dim1, dim2) - - x = np.fromfile(f_path, dtype='float16') - x_reshaped = np.reshape(x, (dim2, dim1)) - - print ("new = ", x_reshaped) - - - - - - diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/src.cc b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/src.cc deleted file mode 100644 index 332d9903e02fa5a218a3117947e9dbf955d07d10..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/weights/src.cc +++ /dev/null @@ -1,98 +0,0 @@ - -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <fcntl.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <string.h> -#include "../../tensor_runtime/include/tensor_runtime.h" -#include "../include/utils.h" - -int main(){ - -llvm_hpvm_initTensorRt(0); - - -std::string dir_prefix = std::string("hpvm_mio_4/"); -std::string input_path = dir_prefix + std::string("input.bin"); -std::string labels_path = dir_prefix + std::string("labels.bin"); -std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); -void* conv2d_1_w = readTrainedWeights(conv2d_1_w_path.c_str(), 0,32,3,3,3); -std::string conv2d_1_b_path = dir_prefix + std::string("conv2d_1_b.bin"); -void* conv2d_1_b = readTrainedWeights(conv2d_1_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_2_w_path = dir_prefix + std::string("conv2d_2_w.bin"); -void* conv2d_2_w = readTrainedWeights(conv2d_2_w_path.c_str(), 0,32,32,3,3); -std::string conv2d_2_b_path = dir_prefix + std::string("conv2d_2_b.bin"); -void* conv2d_2_b = readTrainedWeights(conv2d_2_b_path.c_str(), 0,1,32,1,1); -std::string conv2d_3_w_path = dir_prefix + std::string("conv2d_3_w.bin"); -void* conv2d_3_w = readTrainedWeights(conv2d_3_w_path.c_str(), 0,64,32,3,3); -std::string conv2d_3_b_path = dir_prefix + std::string("conv2d_3_b.bin"); -void* conv2d_3_b = readTrainedWeights(conv2d_3_b_path.c_str(), 0,1,64,1,1); -std::string conv2d_4_w_path = dir_prefix + std::string("conv2d_4_w.bin"); -void* conv2d_4_w = readTrainedWeights(conv2d_4_w_path.c_str(), 0,64,64,3,3); -std::string conv2d_4_b_path = dir_prefix + std::string("conv2d_4_b.bin"); -void* conv2d_4_b = readTrainedWeights(conv2d_4_b_path.c_str(), 0,1,64,1,1); -std::string dense_1_w_path = dir_prefix + std::string("dense_1_w.bin"); -void* dense_1_w = readTrainedWeights(dense_1_w_path.c_str(), 0,1,1,1600,256); -std::string dense_1_b_path = dir_prefix + std::string("dense_1_b.bin"); -void* dense_1_b = readTrainedWeights(dense_1_b_path.c_str(), 0,1,256,1,1); -std::string dense_2_w_path = dir_prefix + std::string("dense_2_w.bin"); -void* dense_2_w = readTrainedWeights(dense_2_w_path.c_str(), 0,1,1,256,5); -std::string dense_2_b_path = dir_prefix + std::string("dense_2_b.bin"); -void* dense_2_b = readTrainedWeights(dense_2_b_path.c_str(), 0,1,5,1,1); - - - -startMemTracking(); - -int test_input_size = 5000; -int batch_size = 5000; -int batch_count = test_input_size / batch_size; -float final_accuracy = 0.0; - -for(int i = 0; i < batch_count; i++){ - -int start = i * batch_size; -int end = (i + 1) * batch_size; - -void* input = readInputBatch(input_path.c_str(),0,start,end,3,32,32); - -void* var_0 = tensorConvolution(input, conv2d_1_w, 0, 0, 1, 1, 1, 1); -void* var_1 = tensorAdd(var_0, conv2d_1_b); -void* var_2 = tensorRelu(var_1); -void* var_3 = tensorConvolution(var_2, conv2d_2_w, 0, 0, 1, 1, 1, 1); -void* var_4 = tensorAdd(var_3, conv2d_2_b); -void* var_5 = tensorRelu(var_4); -void* var_6 = tensorPooling(var_5,0,2,2,0,0,2,2); -void* var_8 = tensorConvolution(var_6, conv2d_3_w, 0, 0, 1, 1, 1, 1); -void* var_9 = tensorAdd(var_8, conv2d_3_b); -void* var_10 = tensorRelu(var_9); -void* var_11 = tensorConvolution(var_10, conv2d_4_w, 0, 0, 1, 1, 1, 1); -void* var_12 = tensorAdd(var_11, conv2d_4_b); -void* var_13 = tensorRelu(var_12); -void* var_14 = tensorPooling(var_13,0,2,2,0,0,2,2); -void* var_17 = tensorGemmGPU(var_14, dense_1_w); -void* var_18 = tensorAdd(var_17, dense_1_b); -void* var_19 = tensorRelu(var_18); -void* var_21 = tensorGemmGPU(var_19, dense_2_w); -void* var_22 = tensorAdd(var_21, dense_2_b); -void* var_23 = tensorSoftmax(var_22); - -uint32_t* labels = readLabelsBatch3(labels_path.c_str(),start,end); - -float accuracy = computeAccuracy3(labels, var_23); -final_accuracy += accuracy; -freeBatchMemory(); - -} - -final_accuracy = final_accuracy / batch_count; -dumpFinalAccuracy(final_accuracy); - - -llvm_hpvm_cleanupTensorRt(); - -return 0; - -} diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/calib.txt b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/calib.txt deleted file mode 100644 index 4fff404f7e9b7beb3ef3dfc19bf1648c68dbe7be..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/calib.txt +++ /dev/null @@ -1,21 +0,0 @@ -input: 0.007874015748031496 -conv1: 0.041152522047244094 -add1: 0.041152522047244094 -relu1: 0.03673215196850394 -conv2: 0.18990387401574804 -add2: 0.18990387401574804 -relu2: 0.12851757480314963 -pool1: 0.12851757480314963 -conv3: 0.4379456692913386 -add3: 0.4379456692913386 -relu3: 0.13566622047244095 -conv4: 0.3754296456692913 -add4: 0.3754296456692913 -relu4: 0.15238466141732282 -pool2: 0.15238466141732282 -gemm1: 0.27306629921259845 -add5: 0.27306629921259845 -relu5: 0.20020370078740157 -gemm2: 0.6007037007874017 -add6: 0.6007037007874017 -softmax1: 0.007874015748031496 diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/compile_benchmark.sh b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/compile_benchmark.sh deleted file mode 100644 index 091245e6ab3466872e42544bcc1b9be146d85c15..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/compile_benchmark.sh +++ /dev/null @@ -1 +0,0 @@ -python3 /home/hsharif3/Gitlab/hpvm_release_nvdla/hpvm/build/tools/hpvm/tools/hpvm-clang/main.py -t nvdla --conf-file data/tuner_confs.txt -DMODEL_PARAMS_DIR=/home/hsharif3/Gitlab/hpvm_release_v2/hpvm/hpvm/test/dnn_benchmarks/model_params/ -fno-exceptions miniera-hpvm.cpp miniera-hpvm diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/miniera-hpvm.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/miniera-hpvm.cpp deleted file mode 100644 index 9c9099cda1afaa4b4ba8812ab5ef84729b12c667..0000000000000000000000000000000000000000 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/miniera-hpvm.cpp +++ /dev/null @@ -1,451 +0,0 @@ - -#include <stdio.h> -#include <stdlib.h> -#include <cstring> -#include <string.h> -#include <iostream> -#include <hpvm.h> -#include <tensorUtils.h> -//#include <tensorUtils.h> - - -void* readTrainedWeights(const char* file_name, int data_type, - int dim1_size, int dim2_size, - int dim3_size, int dim4_size); - - -void var_0_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_1_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_2_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_relu(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_3_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_4_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_5_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_relu(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_6_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_7_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_8_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_9_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_relu(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_10_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_convolution(t1, t2, 0, 0, 1, 1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_11_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_12_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_relu(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_13_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_pool_max(t1, 2, 2, 0, 0, 2, 2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_14_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_mul(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_15_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_16_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_relu(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void var_17_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_mul(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_18_node(void* t1, size_t bytes_t1, void* t2, size_t bytes_t2) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(2, t1, t2, 0); - - void *r = __hpvm__tensor_add(t1, t2); - __hpvm__return(2, r, (size_t) 0); -} - -void var_19_node(void* t1, size_t bytes_t1) { - __hpvm__hint(hpvm::CUDNN_TARGET); - __hpvm__attributes(1, t1, 0); - - void* r = __hpvm__tensor_softmax(t1); - __hpvm__return(2, r, (size_t) 0); -} - -void root(void* input, size_t input_bytes, - void* conv2d_1_w, size_t conv2d_1_w_bytes, - void* conv2d_1_b, size_t conv2d_1_b_bytes, - void* conv2d_2_w, size_t conv2d_2_w_bytes, - void* conv2d_2_b, size_t conv2d_2_b_bytes, - void* conv2d_3_w, size_t conv2d_3_w_bytes, - void* conv2d_3_b, size_t conv2d_3_b_bytes, - void* conv2d_4_w, size_t conv2d_4_w_bytes, - void* conv2d_4_b, size_t conv2d_4_b_bytes, - void* dense_1_w, size_t dense_1_w_bytes, - void* dense_1_b, size_t dense_1_b_bytes, - void* dense_2_w, size_t dense_2_w_bytes, - void* dense_2_b, size_t dense_2_b_bytes){ - - - __hpvm__hint(hpvm::CPU_TARGET); - __hpvm__attributes(13, input, conv2d_1_w, conv2d_1_b, conv2d_2_w, conv2d_2_b, conv2d_3_w, conv2d_3_b, conv2d_4_w, conv2d_4_b, dense_1_w, dense_1_b, dense_2_w, dense_2_b, 0); - - - void* var_0 = __hpvm__createNodeND(0, var_0_node); - - __hpvm__bindIn(var_0, 0, 0, 0); - __hpvm__bindIn(var_0, 1, 1, 0); - __hpvm__bindIn(var_0, 2, 2, 0); - __hpvm__bindIn(var_0, 3, 3, 0); - - void* var_1 = __hpvm__createNodeND(0, var_1_node); - - __hpvm__edge(var_0, var_1, 1, 0, 0, 0); - __hpvm__edge(var_0, var_1, 1, 1, 1, 0); - __hpvm__bindIn(var_1, 4, 2, 0); - __hpvm__bindIn(var_1, 5, 3, 0); - - void* var_2 = __hpvm__createNodeND(0, var_2_node); - - __hpvm__edge(var_1, var_2, 1, 0, 0, 0); - __hpvm__edge(var_1, var_2, 1, 1, 1, 0); - - void* var_3 = __hpvm__createNodeND(0, var_3_node); - - __hpvm__edge(var_2, var_3, 1, 0, 0, 0); - __hpvm__edge(var_2, var_3, 1, 1, 1, 0); - __hpvm__bindIn(var_3, 6, 2, 0); - __hpvm__bindIn(var_3, 7, 3, 0); - - void* var_4 = __hpvm__createNodeND(0, var_4_node); - - __hpvm__edge(var_3, var_4, 1, 0, 0, 0); - __hpvm__edge(var_3, var_4, 1, 1, 1, 0); - __hpvm__bindIn(var_4, 8, 2, 0); - __hpvm__bindIn(var_4, 9, 3, 0); - - void* var_5 = __hpvm__createNodeND(0, var_5_node); - - __hpvm__edge(var_4, var_5, 1, 0, 0, 0); - __hpvm__edge(var_4, var_5, 1, 1, 1, 0); - - void* var_6 = __hpvm__createNodeND(0, var_6_node); - - __hpvm__edge(var_5, var_6, 1, 0, 0, 0); - __hpvm__edge(var_5, var_6, 1, 1, 1, 0); - - void* var_7 = __hpvm__createNodeND(0, var_7_node); - - __hpvm__edge(var_6, var_7, 1, 0, 0, 0); - __hpvm__edge(var_6, var_7, 1, 1, 1, 0); - __hpvm__bindIn(var_7, 10, 2, 0); - __hpvm__bindIn(var_7, 11, 3, 0); - - void* var_8 = __hpvm__createNodeND(0, var_8_node); - - __hpvm__edge(var_7, var_8, 1, 0, 0, 0); - __hpvm__edge(var_7, var_8, 1, 1, 1, 0); - __hpvm__bindIn(var_8, 12, 2, 0); - __hpvm__bindIn(var_8, 13, 3, 0); - - void* var_9 = __hpvm__createNodeND(0, var_9_node); - - __hpvm__edge(var_8, var_9, 1, 0, 0, 0); - __hpvm__edge(var_8, var_9, 1, 1, 1, 0); - - void* var_10 = __hpvm__createNodeND(0, var_10_node); - - __hpvm__edge(var_9, var_10, 1, 0, 0, 0); - __hpvm__edge(var_9, var_10, 1, 1, 1, 0); - __hpvm__bindIn(var_10, 14, 2, 0); - __hpvm__bindIn(var_10, 15, 3, 0); - - void* var_11 = __hpvm__createNodeND(0, var_11_node); - - __hpvm__edge(var_10, var_11, 1, 0, 0, 0); - __hpvm__edge(var_10, var_11, 1, 1, 1, 0); - __hpvm__bindIn(var_11, 16, 2, 0); - __hpvm__bindIn(var_11, 17, 3, 0); - - void* var_12 = __hpvm__createNodeND(0, var_12_node); - - __hpvm__edge(var_11, var_12, 1, 0, 0, 0); - __hpvm__edge(var_11, var_12, 1, 1, 1, 0); - - void* var_13 = __hpvm__createNodeND(0, var_13_node); - - __hpvm__edge(var_12, var_13, 1, 0, 0, 0); - __hpvm__edge(var_12, var_13, 1, 1, 1, 0); - - void* var_14 = __hpvm__createNodeND(0, var_14_node); - - __hpvm__edge(var_13, var_14, 1, 0, 0, 0); - __hpvm__edge(var_13, var_14, 1, 1, 1, 0); - __hpvm__bindIn(var_14, 18, 2, 0); - __hpvm__bindIn(var_14, 19, 3, 0); - - void* var_15 = __hpvm__createNodeND(0, var_15_node); - - __hpvm__edge(var_14, var_15, 1, 0, 0, 0); - __hpvm__edge(var_14, var_15, 1, 1, 1, 0); - __hpvm__bindIn(var_15, 20, 2, 0); - __hpvm__bindIn(var_15, 21, 3, 0); - - void* var_16 = __hpvm__createNodeND(0, var_16_node); - - __hpvm__edge(var_15, var_16, 1, 0, 0, 0); - __hpvm__edge(var_15, var_16, 1, 1, 1, 0); - - void* var_17 = __hpvm__createNodeND(0, var_17_node); - - __hpvm__edge(var_16, var_17, 1, 0, 0, 0); - __hpvm__edge(var_16, var_17, 1, 1, 1, 0); - __hpvm__bindIn(var_17, 22, 2, 0); - __hpvm__bindIn(var_17, 23, 3, 0); - - void* var_18 = __hpvm__createNodeND(0, var_18_node); - - __hpvm__edge(var_17, var_18, 1, 0, 0, 0); - __hpvm__edge(var_17, var_18, 1, 1, 1, 0); - __hpvm__bindIn(var_18, 24, 2, 0); - __hpvm__bindIn(var_18, 25, 3, 0); - - void* var_19 = __hpvm__createNodeND(0, var_19_node); - - __hpvm__edge(var_18, var_19, 1, 0, 0, 0); - __hpvm__edge(var_18, var_19, 1, 1, 1, 0); - - __hpvm__bindOut(var_19, 0, 0, 0); - __hpvm__bindOut(var_19, 1, 1, 0); - -} - -struct ret_t { - void* tensor; - size_t bytes; -}; - -typedef struct __attribute__((__packed__)) { - void* input; - size_t input_bytes; - void* conv2d_1_w; - size_t conv2d_1_w_bytes; - void* conv2d_1_b; - size_t conv2d_1_b_bytes; - void* conv2d_2_w; - size_t conv2d_2_w_bytes; - void* conv2d_2_b; - size_t conv2d_2_b_bytes; - void* conv2d_3_w; - size_t conv2d_3_w_bytes; - void* conv2d_3_b; - size_t conv2d_3_b_bytes; - void* conv2d_4_w; - size_t conv2d_4_w_bytes; - void* conv2d_4_b; - size_t conv2d_4_b_bytes; - void* dense_1_w; - size_t dense_1_w_bytes; - void* dense_1_b; - size_t dense_1_b_bytes; - void* dense_2_w; - size_t dense_2_w_bytes; - void* dense_2_b; - size_t dense_2_b_bytes; - - struct ret_t r; -} -RootIn; - - -const int batch_size = 500, input_size = 5000, - batch_count = input_size / batch_size; - - -int main(){ - - //std::string input_path = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/input_fp16.bin"; - std::string labels_path = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/labels_fp16.bin"; - //char conv2d_1_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_1_w_fp16.bin"; - void* conv2d_1_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_1_w_fp16.bin", 0,32,3,3,3); - //char conv2d_1_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_1_b_fp16_fp16.bin"; - void* conv2d_1_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_1_b_fp16.bin", 0,1,32, 1, 1);//30,30); - //char conv2d_2_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_2_w_fp16_fp16.bin"; - void* conv2d_2_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_2_w_fp16.bin", 0,32,32,3,3); - //char conv2d_2_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_2_b_fp16_fp16.bin"; - void* conv2d_2_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_2_b_fp16.bin", 0,1,32, 1, 1);//28,28); - //char conv2d_3_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_3_w_fp16_fp16.bin"; - void* conv2d_3_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_3_w_fp16.bin", 0,64,32,3,3); - //char conv2d_3_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_3_b_fp16_fp16.bin"; - void* conv2d_3_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_3_b_fp16.bin", 0,1,64, 1, 1);//12,12); - //char conv2d_4_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_4_w_fp16_fp16.bin"; - void* conv2d_4_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_4_w_fp16.bin", 0,64,64,3,3); - //char conv2d_4_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_4_b_fp16_fp16.bin"; - void* conv2d_4_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/conv2d_4_b_fp16.bin", 0,1,64, 1, 1);//10,10); - //char dense_1_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_1_w_fp16_fp16.bin"; - void* dense_1_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_1_w_fp16.bin", 0,1,1,1600,256); - //char dense_1_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_1_b_fp16_fp16.bin"; - void* dense_1_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_1_b_fp16.bin", 0,1,256,1,1); - //char dense_2_w_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_2_w_fp16_fp16.bin"; - void* dense_2_w = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_2_w_fp16.bin", 0,1,1,256,5); - //char dense_2_b_path[] = "../../../../../projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_2_b_fp16_fp16.bin"; - void* dense_2_b = readTrainedWeights("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/dense_2_b_fp16.bin", 0,1,5,1,1); - - //void* input = readTrainedWeights(input_path, 0,1,3,32,32); - //uint32_t* labels = readLabels3(labels_path, 500); - - RootIn* args = static_cast<RootIn*>(malloc(sizeof(RootIn))); - - //args->input = input; - //args->input_bytes = 0; - args->conv2d_1_w = conv2d_1_w; - args->conv2d_1_w_bytes = 0; - args->conv2d_1_b = conv2d_1_b; - args->conv2d_1_b_bytes = 0; - args->conv2d_2_w = conv2d_2_w; - args->conv2d_2_w_bytes = 0; - args->conv2d_2_b = conv2d_2_b; - args->conv2d_2_b_bytes = 0; - args->conv2d_3_w = conv2d_3_w; - args->conv2d_3_w_bytes = 0; - args->conv2d_3_b = conv2d_3_b; - args->conv2d_3_b_bytes = 0; - args->conv2d_4_w = conv2d_4_w; - args->conv2d_4_w_bytes = 0; - args->conv2d_4_b = conv2d_4_b; - args->conv2d_4_b_bytes = 0; - args->dense_1_w = dense_1_w; - args->dense_1_w_bytes = 0; - args->dense_1_b = dense_1_b; - args->dense_1_b_bytes = 0; - args->dense_2_w = dense_2_w; - args->dense_2_w_bytes = 0; - args->dense_2_b = dense_2_b; - args->dense_2_b_bytes = 0; - - - __hpvm__init(); - - - startMemTracking(); -#pragma clang loop unroll(disable) - for (int i = 0; i < batch_count; i++) { - int start = i * batch_size, end = start + batch_size; - void* input = readInputBatch("/home/hsharif3/Gitlab/old_hpvm_nvdla/hpvm/llvm/projects/hpvm-tensor-rt/model_params/legacy/hpvm_mio/input.bin", nchw, start, end, 3, 32, 32); - args->input = input; - args->input_bytes = 0; - - void *dfg = __hpvm__launch(0, root, (void *)args); - __hpvm__wait(dfg); - void *result = static_cast<RootIn *>(args)->r.tensor; - hpvm_request_tensor(result, 0); - - llvm_hpvm_invokeRtControl(result, labels_path.c_str(), start, end); - freeBatchMemory(); - } - __hpvm__cleanup(); - return 0; - -} diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md b/hpvm/test/epoch_dnn/README.md similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md rename to hpvm/test/epoch_dnn/README.md diff --git a/hpvm/test/epoch_dnn/assets/miniera/calib.txt b/hpvm/test/epoch_dnn/assets/miniera/calib.txt deleted file mode 100644 index 4fff404f7e9b7beb3ef3dfc19bf1648c68dbe7be..0000000000000000000000000000000000000000 --- a/hpvm/test/epoch_dnn/assets/miniera/calib.txt +++ /dev/null @@ -1,21 +0,0 @@ -input: 0.007874015748031496 -conv1: 0.041152522047244094 -add1: 0.041152522047244094 -relu1: 0.03673215196850394 -conv2: 0.18990387401574804 -add2: 0.18990387401574804 -relu2: 0.12851757480314963 -pool1: 0.12851757480314963 -conv3: 0.4379456692913386 -add3: 0.4379456692913386 -relu3: 0.13566622047244095 -conv4: 0.3754296456692913 -add4: 0.3754296456692913 -relu4: 0.15238466141732282 -pool2: 0.15238466141732282 -gemm1: 0.27306629921259845 -add5: 0.27306629921259845 -relu5: 0.20020370078740157 -gemm2: 0.6007037007874017 -add6: 0.6007037007874017 -softmax1: 0.007874015748031496 diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_AVG.txt b/hpvm/test/epoch_dnn/assets/miniera/scales/calib_AVG.txt similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_AVG.txt rename to hpvm/test/epoch_dnn/assets/miniera/scales/calib_AVG.txt diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_GAUSS.txt b/hpvm/test/epoch_dnn/assets/miniera/scales/calib_GAUSS.txt similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_GAUSS.txt rename to hpvm/test/epoch_dnn/assets/miniera/scales/calib_GAUSS.txt diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_LAPLACE.txt b/hpvm/test/epoch_dnn/assets/miniera/scales/calib_LAPLACE.txt similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_LAPLACE.txt rename to hpvm/test/epoch_dnn/assets/miniera/scales/calib_LAPLACE.txt diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_NONE.txt b/hpvm/test/epoch_dnn/assets/miniera/scales/calib_NONE.txt similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_NONE.txt rename to hpvm/test/epoch_dnn/assets/miniera/scales/calib_NONE.txt diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_N_STD.txt b/hpvm/test/epoch_dnn/assets/miniera/scales/calib_N_STD.txt similarity index 100% rename from hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/data/calib_N_STD.txt rename to hpvm/test/epoch_dnn/assets/miniera/scales/calib_N_STD.txt