[ https://issues.apache.org/jira/browse/ARROW-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661520#comment-17661520 ]
Rok Mihevc commented on ARROW-4498: ----------------------------------- This issue has been migrated to [issue #15966|https://github.com/apache/arrow/issues/15966] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Plasma] Plasma fails building with CUDA enabled > ------------------------------------------------ > > Key: ARROW-4498 > URL: https://issues.apache.org/jira/browse/ARROW-4498 > Project: Apache Arrow > Issue Type: Bug > Components: C++ - Plasma, GPU > Affects Versions: 0.12.0 > Reporter: Antoine Pitrou > Assignee: Antoine Pitrou > Priority: Major > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > When compiling Plasma with CUDA enabled I get the following errors: > {code} > ../src/plasma/store.cc: In member function 'uint8_t* > plasma::PlasmaStore::AllocateMemory(int, size_t, int*, int64_t*, ptrdiff_t*)': > ../src/plasma/store.cc:187:36: error: 'data_size' was not declared in this > scope > DCHECK_OK(context_->Allocate(data_size + metadata_size, &gpu_handle)); > ^ > {code} > {code} > ../src/plasma/store.cc: In member function 'plasma::flatbuf::PlasmaError > plasma::PlasmaStore::CreateObject(const ObjectID&, int64_t, int64_t, int, > plasma::Client*, plasma::PlasmaObject*)': > ../src/plasma/store.cc:236:15: error: 'gpu_handle' was not declared in this > scope > DCHECK_OK(gpu_handle->ExportForIpc(&entry->ipc_handle)); > ^ > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)