Skip to content
Snippets Groups Projects
Commit 9962fdca authored by Haichen Shen's avatar Haichen Shen Committed by Tianqi Chen
Browse files

[CODEGEN] Change default max_auto_unroll from 256 to 32 (#164)

parent b9eb17c7
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ class CodeGenCUDA final : public CodeGenC { ...@@ -38,7 +38,7 @@ class CodeGenCUDA final : public CodeGenC {
private: private:
// magic number to add pragma unroll to it. // magic number to add pragma unroll to it.
// used to generate code that is compact but still unrolls. // used to generate code that is compact but still unrolls.
int max_auto_unroll_{256}; int max_auto_unroll_{32};
// Whether global barrier is needed. // Whether global barrier is needed.
bool need_global_barrier_{false}; bool need_global_barrier_{false};
// Global barrier state // Global barrier state
......
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