aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/include
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-17 22:39:45 +0100
committerAndreas Grois <andi@grois.info>2018-03-17 22:39:45 +0100
commitf3f67518d7eb74c868b523851ec482cd2177c3ce (patch)
treeaf2a9203a1f04196da903608945607079ae79f73 /BuddhaTest/include
parentc2018354129a4a6eff1649eaba4d99756b537ed3 (diff)
Adjust default workgroup sizes to better match recommended values.
AMD recommends a local workgroup size of 256.
Diffstat (limited to 'BuddhaTest/include')
-rw-r--r--BuddhaTest/include/Helpers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/BuddhaTest/include/Helpers.h b/BuddhaTest/include/Helpers.h
index a585b88..d89c97e 100644
--- a/BuddhaTest/include/Helpers.h
+++ b/BuddhaTest/include/Helpers.h
@@ -38,12 +38,12 @@ namespace Helpers
unsigned int orbitLengthGreen = 100;
unsigned int orbitLengthBlue = 1000;
- unsigned int localWorkgroupSizeX = 1024;
- unsigned int localWorkgroupSizeY = 1;
+ unsigned int localWorkgroupSizeX = 16;
+ unsigned int localWorkgroupSizeY = 16;
unsigned int localWorkgroupSizeZ = 1;
- unsigned int globalWorkGroupSizeX = 1024;
- unsigned int globalWorkGroupSizeY = 1;
+ unsigned int globalWorkGroupSizeX = 64;
+ unsigned int globalWorkGroupSizeY = 64;
unsigned int globalWorkGroupSizeZ = 1;
unsigned int targetFrameRate = 60;