diff options
| author | Tobias Grosser <tobias@grosser.es> | 2016-07-14 14:14:02 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2016-07-14 14:14:02 +0000 |
| commit | 4eaedde53031bf4c4342b983b08019c206698cee (patch) | |
| tree | a186ad8165c861a21dcb415bec67d3eeb5bbc286 /polly/lib/CodeGen/PPCGCodeGeneration.cpp | |
| parent | 585ea9ddce50f3c3d3fd6dae0f9f148c074bcc2b (diff) | |
GPGPU: Use a tile size of 32 by default
The tile size was previously uninitialized. As a result, it was often zero (aka.
no tiling), which is not what we want in general. More importantly, there was
the risk for arbitrary tile sizes to be choosen, which we did not observe, but
which still is highly problematic.
llvm-svn: 275418
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index deb80dbcf18f..d0921db4a7b2 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -75,6 +75,8 @@ public: Options->ctx = nullptr; Options->sizes = nullptr; + Options->tile_size = 32; + Options->use_private_memory = false; Options->use_shared_memory = false; Options->max_shared_memory = 0; |
