intel / intel/compute-runtime

[GSD-11554] Crash issue due to refcount error with clang compiler

Open
#744 9 comments 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
C++
Stars
1.4k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

bool AbstractBuffersPool::isPoolBuffer(const BufferParentType *buffer) const {
static_assert(std::is_base_of_v);

return (buffer && this->mainStorage.get() == buffer); // for clang compiler, unique_ptr is assigned nullptr firstly
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.