diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet2_cifar10/alexnet2_cifar10_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet2_cifar10/alexnet2_cifar10_cudnn.cpp index 9c0c980d977138a628f1c0b76354d626066d77f9..448db0b4c8b25ae4c34ad041282b31678e8aa2e8 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet2_cifar10/alexnet2_cifar10_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet2_cifar10/alexnet2_cifar10_cudnn.cpp @@ -415,7 +415,7 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/alexnet2_cifar10/"; - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string labels_path = dir_prefix + std::string("test_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); @@ -494,7 +494,7 @@ int main() { int test_input_size = 5000; int batch_count = test_input_size / batch_size; - std::string input_path = dir_prefix + std::string("tune_input.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); void *input = create4DTensor(0, nchw, batch_size, 3, 32, 32); startMemTracking(); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_cifar10/alexnet_cifar10_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_cifar10/alexnet_cifar10_cudnn.cpp index 7ce160881372f9b09e20f079ba5b065f724fe34f..ab4f6a2402251cb61f05c692e50eb7daf2c33918 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_cifar10/alexnet_cifar10_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_cifar10/alexnet_cifar10_cudnn.cpp @@ -367,9 +367,9 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/alexnet_cifar10/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); void *input = readTrainedWeights(input_path.c_str(), 0, 5000, 3, 32, 32); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string labels_path = dir_prefix + std::string("test_labels.bin"); uint32_t *labels = readLabels3(labels_path.c_str(), 5000); std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); void *conv2d_1_w = diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_imagenet/alexnet_imagenet_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_imagenet/alexnet_imagenet_cudnn.cpp index 73175982ab98c19efdf1e77b6e2db504af4d6d93..4acba95173cec9e2b464dcf8933f6f25908773ef 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_imagenet/alexnet_imagenet_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/alexnet_imagenet/alexnet_imagenet_cudnn.cpp @@ -462,10 +462,9 @@ typedef struct __attribute__((__packed__)) { int main() { - std::string dir_prefix = - std::string(MODEL_PARAMS_DIR) + "/alexnet_imagenet/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/alexnet_imagenet/"; + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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, 64, 3, 11, 11); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/lenet_mnist/lenet_mnist_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/lenet_mnist/lenet_mnist_cudnn.cpp index 4e0adc7bbe15356955a178d8db30466c8b872258..2159cfe286d2326f9baa2f003d43a3e424851aa4 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/lenet_mnist/lenet_mnist_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/lenet_mnist/lenet_mnist_cudnn.cpp @@ -268,8 +268,8 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/lenet_mnist/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_labels.bin"); std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); void *conv2d_1_w = diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/mobilenet_cifar10/mobilenet_cifar10_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/mobilenet_cifar10/mobilenet_cifar10_cudnn.cpp index b7e0a714590418414a2647474526a1fb0c09e390..9f4069b34b63389f15ff1990281ad754dbb8aa7d 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/mobilenet_cifar10/mobilenet_cifar10_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/mobilenet_cifar10/mobilenet_cifar10_cudnn.cpp @@ -1967,10 +1967,11 @@ typedef struct __attribute__((__packed__)) { int main() { - std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/mobilenet_cifar10/"; + std::string dir_prefix = + std::string(MODEL_PARAMS_DIR) + "/mobilenet_cifar10/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet18_cifar10/resnet18_cifar10_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet18_cifar10/resnet18_cifar10_cudnn.cpp index e1429ada17629aa7d889b882f23817943a36dabf..1b6c98b886545940033d63c63424592f8a35298e 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet18_cifar10/resnet18_cifar10_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet18_cifar10/resnet18_cifar10_cudnn.cpp @@ -1230,9 +1230,9 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/resnet18_cifar10/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); void *input = readTrainedWeights(input_path.c_str(), 0, 5000, 3, 32, 32); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string labels_path = dir_prefix + std::string("test_labels.bin"); uint32_t *labels = readLabels3(labels_path.c_str(), 5000); std::string conv2d_1_w_path = dir_prefix + std::string("conv2d_1_w.bin"); void *conv2d_1_w = diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet50_imagenet/resnet50_imagenet_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet50_imagenet/resnet50_imagenet_cudnn.cpp index ab613983a0a57673a2575378b6a9a2a3fc04f941..c7817caf531a69b080f855529e71d6c19276ea3f 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet50_imagenet/resnet50_imagenet_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/resnet50_imagenet/resnet50_imagenet_cudnn.cpp @@ -4907,8 +4907,8 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/resnet50_imagenet/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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, 64, 3, 7, 7); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar10/vgg16_cifar10_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar10/vgg16_cifar10_cudnn.cpp index c1cb38327dc94938934486f3022e4e9cb360f517..2f18dc17c6e54c915fa5aff17ef71c699e865cc0 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar10/vgg16_cifar10_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar10/vgg16_cifar10_cudnn.cpp @@ -830,8 +830,8 @@ typedef struct __attribute__((__packed__)) { int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/vgg16_cifar10/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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, 64, 3, 3, 3); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar100/vgg16_cifar100_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar100/vgg16_cifar100_cudnn.cpp index 326542a03852d97dbce2dacf4da913005f9ef28a..a3e147cb1a68fc8429aa47c3415da0750b1a8596 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar100/vgg16_cifar100_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_cifar100/vgg16_cifar100_cudnn.cpp @@ -831,8 +831,8 @@ int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/vgg16_cifar100/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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, 64, 3, 3, 3); diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_imagenet/vgg16_imagenet_cudnn.cpp b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_imagenet/vgg16_imagenet_cudnn.cpp index 16f145efad6a783cd78557c871ff1348bb6689f5..995502f9079bba085f84f5f1d4219e0963c8c4e5 100644 --- a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_imagenet/vgg16_imagenet_cudnn.cpp +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/vgg16_imagenet/vgg16_imagenet_cudnn.cpp @@ -878,8 +878,8 @@ typedef struct __attribute__((__packed__)) { int main() { std::string dir_prefix = std::string(MODEL_PARAMS_DIR) + "/vgg16_imagenet/"; - std::string input_path = dir_prefix + std::string("tune_input.bin"); - std::string labels_path = dir_prefix + std::string("tune_labels.bin"); + std::string input_path = dir_prefix + std::string("test_input.bin"); + std::string labels_path = dir_prefix + std::string("test_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, 64, 3, 3, 3);