Commit 9962fdca by Haichen Shen Committed by Tianqi Chen

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

parent b9eb17c7
......@@ -38,7 +38,7 @@ class CodeGenCUDA final : public CodeGenC {
private:
// magic number to add pragma unroll to it.
// 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.
bool need_global_barrier_{false};
// Global barrier state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment