Closed bcaddy closed 3 months ago
@ojwg pointed out that threadsPerBlock and numBlocks were public, non-const, member variables of AutomaticLaunchParams which leaves them open to misuse. Now they're both private and are effectively read only through getters.
threadsPerBlock
numBlocks
AutomaticLaunchParams
@ojwg pointed out that
threadsPerBlock
andnumBlocks
were public, non-const, member variables ofAutomaticLaunchParams
which leaves them open to misuse. Now they're both private and are effectively read only through getters.