We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304b9f4 commit 0f8fe79Copy full SHA for 0f8fe79
src/library/generator.stockham.cpp
@@ -819,7 +819,8 @@ namespace StockhamGenerator
819
820
passStr += "\n\t";
821
passStr += "__global "; passStr += RegBaseType<PR>(4);
822
- passStr += " *buff4g = "; passStr += bufferRe; passStr += ";\n\t"; // Assuming 'outOffset' is 0, so not adding it here
+ passStr += " *buff4g = (__global "; passStr += RegBaseType<PR>(4); passStr += " *)";
823
+ passStr += bufferRe; passStr += ";\n\t"; // Assuming 'outOffset' is 0, so not adding it here
824
825
for(size_t r=0; r<radix; r++) // setting the radix loop outside to facilitate grouped writing
826
{
0 commit comments