nberger

Maximum string length

Discussion created by nberger on May 8, 2008
Latest reply on May 8, 2008 by marcr
The brook compiler generates the GPU instructions as a string literal in the C++ output file. MS Visual C++ has a limit of 64K for string length. In our project we have now come upon a calculation which exceeds this limit (partial contraction of two rank 3 tensors to a rank four tensor). Obviously this can be overcome by splitting the calculation over several kernels, but it would be nice if brook would overcome this limitation (by splitting the string and joining it at runtime - that is at least the recommendation of the MS VS help) or at least issue a warning.

Cheers

Nik

Outcomes