Skip to content
Snippets Groups Projects
Commit 575af248 authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Adding pragma nounroll hint to batch loop (Keras frontend)

parent 5e76f110
No related branches found
No related tags found
No related merge requests found
......@@ -643,6 +643,7 @@ class HPVMTranslator:
func_str += "startProfiling(); \n\n"
func_str += "for(unsigned int j = 0; j < 1; j++){ \n"
func_str += "#pragma clang loop unroll(disable) \n"
func_str += "for(unsigned int i = 0; i < batch_count; i++){ \n\n"
func_str += "unsigned int start = i * batch_size; \n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment