Forum Discussion
mvemp
New Contributor
7 years agoSupport for bitwise operations using OpenCL?
Does openCL map gate level operations to FPGA logic? There seems to be no 1-bit data types at the moment.
It will interesting to see bitwise operations to support for effective implmentation XNOR-neural-networks.
1 Reply
- HRZ
Frequent Contributor
You can probably use the "bool" datatype or use "char" and mask out the unnecessary bits. Though this could result in some extra area overhead compared to a pure HDL design depending on how smart the compiler/mapper is in handling the operations.