Message374176
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', '1025', '128', '1', '1', '512', '1']))
arith_int_512-cuda.sfeat __hipsyclkernel$wrapped_kernelname$MicroBenchArithmeticKernel_512_1 578 65 5 64 4 1025 128 512 1
Notice the missing numbers between 128 and 512. If I do random modifications the either of the first two string, some of the missing numbers may appear. For instance:
>>> print("\t".join(['arith_int_512-cuda', '__hipsycl_kernel_$wrapped_kernel_name_$MicroBenchArithmeticKernel_512_1', '578', '65', '5', '64', '4', '1025', '128', '1', '1', '512', '1']))
arith_int_512-cuda __hipsycl_kernel_$wrapped_kernel_name_$MicroBenchArithmeticKernel_512_1 578 65 5 64 4 1025 128 1 512 1
Notice that one of the two missing numbers has appeared. There appears nothing wrong with the value used to invoke print.
The error appears to be linked to joining on the "\t" character and does not appear to occur when joining on other whitespace characters such as " ".join(...) or "\n".join(...) |
|
Date |
User |
Action |
Args |
2020-07-24 13:56:19 | n-io | set | recipients:
+ n-io |
2020-07-24 13:56:19 | n-io | set | messageid: <1595598979.89.0.398594885815.issue41382@roundup.psfhosted.org> |
2020-07-24 13:56:19 | n-io | link | issue41382 messages |
2020-07-24 13:56:19 | n-io | create | |
|