Git Product home page Git Product logo

clvk's Issues

clinfo clGetExtensionFunctionAddress error

When running the Solus repository version of opencl it returns the following error:

clinfo: ./build/libOpenCL.so.1: no version information available (required by clinfo) clinfo: relocation error: clinfo: symbol clGetExtensionFunctionAddress version OPENCL_1.0 not defined in file libOpenCL.so.1 with link time reference

Also tried running the PlaidML library at git commit plaidml/plaidml@8696156 but was as expected informed that no OpenCL devices were found. Sadly I'm not terribly experienced with OpenCL in general so I don't have much other information. If there is anything else I can try I would like to help in any way I can!

Setup:
OS: Solus
Kernel: 4.18.9
Vulkan: 1.1.82.0
LLVM: 6.0.1
clinfo: 2.2.18.04.06

Pass basic:enqueue_map_buffer

Support for CL_MEM_USE_HOST_PTR in buffer mapping/unmapping is broken. The conformance test is hiding some of the issues since it updates the memory passed as host_ptr instead of computing a reference result in a separate allocation.

cmake can't find Vulkan

I'm trying to build the project on macOS.

After getting the source, I make a build subdirectory and run

 cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..

It fails to configure, with the following error:

-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/Users/dneto/project/clvk/clvk/src/Vulkan_INCLUDE_DIR
   used as include directory in directory /Users/dneto/project/clvk/clvk/src
Vulkan_LIBRARY (ADVANCED)
    linked by target "OpenCL" in directory /Users/dneto/project/clvk/clvk/src

-- Configuring incomplete, errors occurred!

What is the dependence on Vulkan?
Is it for the headers? What's the normal way of getting them? Is the normal flow to set up a Vulkan environment so it can be executed?

Support cl_khr_il_program

SPIR-V via the SPIRV-LLVM translator.

  • Support using offline tools
  • Support in online compilation mode

Support long vectors

8-element and 16-element vectors

  • Basic support
  • Conversions
  • Maths built-in functions
  • ... and more :)

Put test framework in place

I've got a local prototype with a few tests but I'll happily throw it away and port the tests I have if someone is willing to take that on.

Add pre-OpenCL 1.2 image creation entrypoints

clCreateImage2D and clCreateImage3D. Probably best done by extracting a common cvk_create_image with the semantics of the new-style clCreateImage and using it in all three entrypoints.

Support cl_khr_fp64

Depends on google/clspv#321

  • Basic type support, constants and operators
  • Conversions
  • Math built-ins
  • Common built-ins
  • Geometric built-ins
  • Relational built-ins
  • Vector load/stores
  • Async copies and prefetch
  • Image built-ins
  • Device queries

Support cl_khr_fp16

Depends on google/clspv#276

  • Basic type support, constants and operators
  • Conversions
  • Math built-ins
  • Common built-ins
  • Geometric built-ins
  • Relational built-ins
  • Vector load/stores
  • Async copies and prefetch
  • Image built-ins
  • Device queries

Support kernels with no arguments

clvk currently relies on the descriptor map obtained from clspv to ascertain the existence of a kernel in a given program. Kernels with no arguments aren't described at all in the descriptor map and thus can't be used (kernel creation will fail). Not the most pressing thing to fix though :).

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.