Category "opencl"

vector addition in OPENCL /C

I hope you are well, I have a problem with an opencl program, I execute the following program of the vector addition #define CL_USE_DEPRECATED_OPENCL_1_2APIS #i

How to fix error that occurred while building CXX object src/CMakeFiles/VC4CC.dir/Compiler.cpp.o on Rasbberry Pi?

I've followed these instructions. I've cloned grom git VC4CLStdLib, VC4C and VC4CL. VC4CLStdLib installed sucsessfuly. Then I do the cmake -DCMAKE_INSTALL_PREFI

Assertion `argc >= 2' failed. Abandon (core dumped)

I'm traying to calculat the multiplication of tow matrix using OPENCL with C: ` #include <CL/cl.h> # include <stdio.h> # include <math.h> # in

Rust throws an error when running code with OpenCL

I do not know rust at all, but I know a little C / C ++, tell me why this code causes an error? I just copy/paste it use std::fs; use std::ffi::{CString}; use o

NVIDIA __constant memory: how to populate constant memory from host in both OpenCL and CUDA?

I have a buffer (array) on the host that should be resided in the constant memory region of the device (in this case, an NVIDIA GPU). So, I have two questions:

Transpose an image2d_t in OpenCL

I work on an image processing code base that uses image2d_t objects everywhere. These have their shape (width and height) formally declared which enables progra

Cl/cl.h not found in Visual Studio Code 2019 AMD GPU Win10

I wanted to get started in GPU programming and since I have an AMD GPU I would like to start with OpenCL. I have installed on my Windows 10 machine Visual Studi

Usage of function clGetExtensionFunctionAddress

I'm new to OpenCL extensions and I try to use the extension function clImportMemoryARM witht code blow: cl_mem buffer = NULL; clImportMemoryARM = (clImportMemor

CLBlast library not working on Mingw-w64 with Nvidia GPUs

I am trying to run the example samples/sgemm.cpp from the CLBlast repo on Windows 10 with a Nvidia graphics card. I have obtained the cl.hpp from the link. The

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted