cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

et1
Adept II

printf of constant string not working?

I tried to print a matrix, and the printf("\n") between rows didn't print anything. I then tried printing other constant strings, and none worked. printf only worked if I printed the content of some variable.

I'm using Catalyst 14.7 beta on Windows 7 64 bit with a Radeon R9 280.

0 Likes
1 Solution
dipak
Big Boss

A similar observation was found in this thread confirm bugs in cl_amd_printf and it was verified that "input string doesn't get printed if the input string doesn't include a % format specifier". An internal bug report was already filed against this issue. If get any update, will inform you.


Regards,

View solution in original post

0 Likes
3 Replies
dipak
Big Boss

A similar observation was found in this thread confirm bugs in cl_amd_printf and it was verified that "input string doesn't get printed if the input string doesn't include a % format specifier". An internal bug report was already filed against this issue. If get any update, will inform you.


Regards,

0 Likes

Thanks. Good to know it will be looked at.

0 Likes
alexfd7
Adept I

I do like this :

printf("%s\n", " ");

For me works =p

0 Likes