You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error in comparing RuntimeFailedConfig with other values in the expdist.py example.
best performing configuration:
block_size_x=32, block_size_y=1, tile_size_x=8, tile_size_y=2, use_shared_mem=0, time=0.541ms
Traceback (most recent call last):
File "/home/alessio/src/kernel_tuner/examples/cuda/expdist.py", line 65, in <module>
tune_expdist()
File "/home/alessio/src/kernel_tuner/examples/cuda/expdist.py", line 46, in tune_expdist
best_config1 = min(kernel1[0], key=lambda x:x['time'])
TypeError: '>' not supported between instances of 'numpy.ndarray' and 'RuntimeFailedConfig'
The text was updated successfully, but these errors were encountered:
A similar error also happens in the create_results(_) function in class integration. The results_filtered will also miss to filter out the RuntimeFailedConfig and cause the same comparison error in the below code.
An improvement can be:
#filter results to only those that contain the objective
results_filtered = [item for item in results if objective in item and isinstance(item[objective], float)]
There is an error in comparing
RuntimeFailedConfig
with other values in theexpdist.py
example.The text was updated successfully, but these errors were encountered: