Commit f910c93
Ruyman Reyes
[SYCL][PI] Equality operator for PI plugins
Implemented a comparison operator for the plugin class in SYCL RT:
Two plugins are equal if the pointer to their string is the same.
plugin constructor marked explicit to avoid accidental implicit
conversions.
Signed-off-by: Ruyman Reyes <[email protected]>1 parent aa384ae commit f910c93
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
0 commit comments