Skip to content
Commit 2582f9b2 authored by Karl Rupp's avatar Karl Rupp
Browse files

Visual Studio: Fixed primary compilation problem after full migration to generator.

Passing 'int', 'char', etc. to the OpenCL kernel class directly is not supported,
as OpenCL only guarantees that 'cl_int', 'cl_char', etc. are binary-compatible.
The fix to this is to use viennacl::result_of::cl_type<T>::type
parent e63e9d83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment