Load the kernel source code into the array source_strįprintf(stderr, "Failed to load kernel. Inline bool checkError(cl_int err, const char * name)įprintf(stderr, "ERROR: %s ( %d )\n", name, err) OpenCL kernel which is run for every work item created. #define CL_USE_DEPRECATED_OPENCL_1_2_APIS 3D Graphics Architecture - 64x full scene antialiasing (FSAA)/128x FSAA in NVIDIA SLI® Mode - Up to 16 K x 16 K texture and render processing - Support Shader Model 5.1/OpenGL 4.5/DirectX 12.0/Vulkan 1. The full source of the testing program is that below #define CL_TARGET_OPENCL_VERSION 120 So, what might be the root of the problem for the Ubuntu environment? Bad Cuda installation maybe?Ĭlinfo under ubuntu can indeed find the NVidia Quadro card as you can see at the end of this question. I can confirm that under windows, the logs work just fine. I get the same error no matter if I use an external kernel file saxpy.cl or inline code. I tried to get details for the error but I get no logs at all. The testing code below runs just fine under Windows using NVIDIA GeForce GTX 960M but under Ubuntu with Quadro P4000 video card, it reports a building error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |