n-io added the comment:
Redirecting the stdout of the command to a file (script.py > out) shows the
output being produced correctly. The bug seems therefore unrelated to python,
my apologies. Thanks though!
FYI, "$cat out" will reproduce the bug, while "$vi out" will show the correct
output
Eric V. Smith added the comment:
It would help if you could pare this down to a simpler example, hopefully
removing the '$'.
For example, does the problem still occur if you '$'s? What if you make all of
the non-numeric strings 1 character long? What if you delete the non-numeric
strings?
n-io added the comment:
The first call you requested (as hinted before, this looks fine to me):
$ python3.8
Python 3.8.3 (default, May 14 2020, 22:09:32)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> "\t".join(['arith_int_512-cuda.sfea
Rémi Lapeyre added the comment:
On MacOS with Python 3.8.2 I get the correct results. Can you give more details
about the platform and send the result of:
>>> "\t".join(['arith_int_512-cuda.sfeat',
'__hipsyclkernel$wrapped_kernelname$MicroBenchArithmeticKernel_512_1', '578',
'65', '5',
New submission from n-io :
There seems to be a behavioural issue with the print() function. Using
python3.8 and the following line:
>>> print("\t".join(['arith_int_512-cuda.sfeat',
>>> '__hipsyclkernel$wrapped_kernelname$MicroBenchArithmeticKernel_512_1',
>>> '578', '65', '5', '64', '4', '10