[Parallel_libs-commits] [PATCH] D24531: [SE] KernelSpec return best PTX
Justin Lebar via Parallel_libs-commits
parallel_libs-commits at lists.llvm.org
Tue Sep 13 16:33:33 PDT 2016
jlebar added inline comments.
================
Comment at: streamexecutor/lib/KernelSpec.cpp:39
@@ -38,2 +38,3 @@
return nullptr;
- return PTXIter->second;
+ --Iterator;
+ return Iterator->second;
----------------
Gosh this is subtle -- even though I've seen it before, I still had to spend five minutes convincing myself it's right. Oh well, I don't have a concrete suggestion. :)
https://reviews.llvm.org/D24531
More information about the Parallel_libs-commits
mailing list