[jira] [Resolved] (ARROW-5285) [C++][Plasma] GpuProcessHandle is not released when GPU object deleted
[ https://issues.apache.org/jira/browse/ARROW-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney resolved ARROW-5285. - Resolution: Fixed > [C++][Plasma] GpuProcessHandle is not released when GPU object deleted > -- > > Key: ARROW-5285 > URL: https://issues.apache.org/jira/browse/ARROW-5285 > Project: Apache Arrow > Issue Type: Bug > Components: C++, C++ - Plasma, GPU >Affects Versions: 0.13.0 >Reporter: shengjun.li >Assignee: Antoine Pitrou >Priority: Major > Labels: pull-request-available > Fix For: 0.14.0 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > cpp/CMakeLists.txt > option(ARROW_CUDA "Build the Arrow CUDA extensions (requires CUDA toolkit)" > ON) > option(ARROW_PLASMA "Build the plasma object store along with Arrow" ON) > In the plasma client, GpuProcessHandle is never released although GPU object > is deleted. > Thus, cuIpcCloseMemHandle is never called. > When I repeatly creat and delete gpu memory, the following error may occur. > IOError: Cuda Driver API call in > /home/zilliz/arrow/cpp/src/arrow/gpu/cuda_context.cc at line 155 failed with > code 208: cuIpcOpenMemHandle(&data, *handle, > CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS) > Note: CUDA_ERROR_ALREADY_MAPPED = 208 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (ARROW-5285) [C++][Plasma] GpuProcessHandle is not released when GPU object deleted
[ https://issues.apache.org/jira/browse/ARROW-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antoine Pitrou resolved ARROW-5285. --- Resolution: Fixed Issue resolved by pull request 4277 [https://github.com/apache/arrow/pull/4277] > [C++][Plasma] GpuProcessHandle is not released when GPU object deleted > -- > > Key: ARROW-5285 > URL: https://issues.apache.org/jira/browse/ARROW-5285 > Project: Apache Arrow > Issue Type: Bug > Components: C++ >Affects Versions: 0.13.0 >Reporter: shengjun.li >Priority: Major > Labels: pull-request-available > Fix For: 0.14.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > cpp/CMakeLists.txt > option(ARROW_CUDA "Build the Arrow CUDA extensions (requires CUDA toolkit)" > ON) > option(ARROW_PLASMA "Build the plasma object store along with Arrow" ON) > In the plasma client, GpuProcessHandle is never released although GPU object > is deleted. > Thus, cuIpcCloseMemHandle is never called. > When I repeatly creat and delete gpu memory, the following error may occur. > IOError: Cuda Driver API call in > /home/zilliz/arrow/cpp/src/arrow/gpu/cuda_context.cc at line 155 failed with > code 208: cuIpcOpenMemHandle(&data, *handle, > CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS) > Note: CUDA_ERROR_ALREADY_MAPPED = 208 -- This message was sent by Atlassian JIRA (v7.6.3#76005)