[ 
https://issues.apache.org/jira/browse/ARROW-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rok Mihevc updated ARROW-4498:
------------------------------
    External issue URL: https://github.com/apache/arrow/issues/15966

> [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)

Reply via email to