Git Product home page Git Product logo

daphne-benchmark's People

Contributors

irseny avatar sommerlukas avatar wolfzank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

amamory-ampere

daphne-benchmark's Issues

OpenCL atomics for points2image

There is an optimization that could be implemented for OpenCl/points2image leading to reduced data transfer. However this would add atomics support as a requirement. I am not sure whether these changes should be integrated into the existing OpenCL portion, applied to a folder copy or only be available in a separate branch.

Missing Code for OpenCl/points2image

cl_program points2image_program = clCreateProgramWithSource(OCL_objs.rcar_context, 1, (const char **)&points2image_ocl_krnl, NULL, &err);

We are missing initialization of OCL_objs here. Platform and device queries are left out as well as command queue creation. This is probably related to the declaration:

extern OCL_Struct OCL_objs;

that has no non-extern counterpart. As a result I get an undefined reference to `OCL_objs' in the compilation process.

dataset question

For the minimal dataset used in points2image,

The sizes for the first two cases from the function parsePointCloud() are
1 55631 128
32684 1093664768 32

For the second one, the data size is too big and causes bad allocation. Did you have the memory allocation issue ?

Thanks

void  parsePointCloud(std::ifstream& input_file, PointCloud2* pointcloud2) {
  try {
    input_file.read((char*)&(pointcloud2->height), sizeof(int32_t));
    input_file.read((char*)&(pointcloud2->width), sizeof(int32_t));
    const size_t vol = pointcloud2->height * pointcloud2->width * pointcloud2->point_step;
    printf("%d %d %d\n", pointcloud2->height , pointcloud2->width , pointcloud2->point_step);
    input_file.read((char*)&(pointcloud2->point_step), sizeof(uint32_t));
    pointcloud2->data = new float[vol];
    input_file.read((char*)pointcloud2->data, vol);
  } catch (std::ifstream::failure) {
    throw std::ios_base::failure("Error reading the next point cloud.");
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.