The sync pipeline should always contain the candidate ID. If it doesn't something's gone awry. assert on that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,030 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp | ||
---|---|---|
597 | Can we convert these into std::find_if? SchedGroup *Match = std::find_if( SyncPipeline.begin(), SyncPipeline.end(), [&CandSGID](SchedGroup SG) { return SG.getSGID() == CandSGID; }); assert(Match != SyncPipeline.end()); |
llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp | ||
---|---|---|
597 | Yeah. That'd work too. We can also use llvm::find_if, and capture CandSGID by value. |
Can we convert these into std::find_if?