Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4498

[Plasma] Plasma fails building with CUDA enabled

    XMLWordPrintableJSON

    Details

      Description

      When compiling Plasma with CUDA enabled I get the following errors:

      ../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));
                                          ^
      
      ../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));
                     ^
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apitrou Antoine Pitrou
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h