fixing core dump wehen no hipcc optmization (#989)
此提交包含在:
1 父節點
a35a81b060
當前提交
ba35562729
1 file changed
+2
-1
@@ -71,7 +71,8 @@ void
|
||||
write_ring_buffer(Tp _v, domain_type type)
|
||||
{
|
||||
auto [_tmp_buf, _tmp_file] = get_tmp_file_buffer<ring_buffer_t<Tp>>(type);
|
||||
auto* ptr = _tmp_buf->request(false);
|
||||
if(_tmp_buf->capacity() == 0) return;
|
||||
auto* ptr = _tmp_buf->request(false);
|
||||
if(ptr == nullptr)
|
||||
{
|
||||
offload_buffer<ring_buffer_t<Tp>>(type);
|
||||
|
||||
Reference in new issue
封鎖使用者