Sha256: 6ea572c42048a1ee19595def5a6cb0a4e43a21672ba168f6bcd8db57295359fc
Contents?: true
Size: 260 Bytes
Versions: 13
Compression:
Stored size: 260 Bytes
Contents
% c_dtype = dtype_to_c_type(dtype) __kernel void square_<%= dtype %>(__global const <%= c_dtype %> *A, __global <%= c_dtype %> *C) { // Get the index of the current element to be processed const int id = get_global_id(0); C[id] = A[id] * A[id]; }
Version data entries
13 entries across 13 versions & 1 rubygems