cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nberger
Adept I

Maximum string length

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
0 Likes
1 Reply
marcr
Staff


Hi,

Thanks for the heads up on the string limit problem. This is
a known issue, and the next version of the SDK will not have this
limitation any more.

-- marc
0 Likes