Commit f314f2722481b88c0bdf12fcb50f3ea9a8b84693

Con Kolivas 2014-03-28T17:19:56

Use the hashfast opname as its unique identifier

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/driver-hashfast.c b/driver-hashfast.c
index e713057..a5ce8bb 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1274,6 +1274,9 @@ static bool hfa_prepare(struct thr_info *thr)
 	if (info->has_opname && !info->opname_valid)
 		hfa_choose_opname(hashfast, info);
 
+	/* Use the opname as the displayed unique identifier */
+	hashfast->unique_id = info->op_name;
+
 	/* Inherit the old device id */
 	if (info->old_cgpu)
 		hashfast->device_id = info->old_cgpu->device_id;