Sha256: aa622794a8aa952633c8e06644e8512953de74d8e7e1408580e015619dc821d3

Contents?: true

Size: 341 Bytes

Versions: 16

Compression:

Stored size: 341 Bytes

Contents

% ["#{dtype}"].product(%w[less less_equal equal not_equal greater greater_equal logical_and]).each do |dtype, fname|
% a_dtype = dtype_to_c_type(a)
% b_dtype = dtype_to_c_type(b)
% op = operator_to_c(fname)
<%= render 'bool_operand.cl', a_dtype: a_dtype, b_dtype: b_dtype, op: op, fname: fname, dtype: "#{a}_#{b}", result_t: 'uchar' %>
% end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
tensor_stream-opencl-0.3.2 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.3.1 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.3.0 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.10 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.9 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.8 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.6 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.5 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.4 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.3 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.2 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.1 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.2.0 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.1.3 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.1.2 lib/tensor_stream/opencl/kernels/cond.cl.erb
tensor_stream-opencl-0.1.1 lib/tensor_stream/opencl/kernels/cond.cl.erb