From 6096c4c333c81a3ebe3fccfbf9918b9474de57c5 Mon Sep 17 00:00:00 2001 From: Yifan Zhao <yifanz16@illinois.edu> Date: Tue, 23 Mar 2021 19:55:37 -0500 Subject: [PATCH] Bypass a bug in an HPVM pass --- hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in | 1 + 1 file changed, 1 insertion(+) diff --git a/hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in b/hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in index 0c1db9b1ff..1c4a386ce2 100644 --- a/hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in +++ b/hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in @@ -90,6 +90,7 @@ int main(int argc, char *argv[]){ __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; copyInputBatch(input_path.c_str(), start, end, {{input_shape|join(', ')}}, {{input_name}}); -- GitLab