Skip to content

Commit

Permalink
Update check-cppcheck-llpc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojbao committed Dec 20, 2024
1 parent 1873e38 commit af5d72a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-cppcheck-llpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
git submodule update --init
- name: Run cppcheck
run: |
cppcheck -q -j$(( $(nproc) * 4 )) --error-exitcode=1 --std=c++17 --inline-suppr . -i llpc/tool/amdllpc.cpp \
-I imported/llvm-dialects/include
cppcheck -q -j$(( $(nproc) * 4 )) --error-exitcode=1 --std=c++17 --inline-suppr . \
-I imported/llvm-dialects/include -i imported -i llpc/unittests -i llvmraytracing
3 changes: 1 addition & 2 deletions llpc/context/llpcCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2589,8 +2589,7 @@ Result Compiler::BuildComputePipeline(const ComputePipelineBuildInfo *pipelineIn
ElfPackage candidateElf;
if (!cacheAccessor || !cacheAccessor->isInCache()) {
LLPC_OUTS("Cache miss for compute pipeline.\n");
ComputeContext *computeContext =
new ComputeContext(m_gfxIp, m_apiName, pipelineInfo, &pipelineHash, &cacheHash);
ComputeContext *computeContext = new ComputeContext(m_gfxIp, m_apiName, pipelineInfo, &pipelineHash, &cacheHash);
result = buildComputePipelineInternal(computeContext, pipelineInfo, buildUsingRelocatableElf, &candidateElf,
&pipelineOut->stageCacheAccess);
delete computeContext;
Expand Down

0 comments on commit af5d72a

Please sign in to comment.