In the 02-bloom/cpu_src
directory, the main function calls the runOnCPU
function. This function is implemented in the 02-bloom/cpu_src/compute_score_host.cpp
file.
The algorithm can be divided into two sections:
Computing output flags created from the hash function of every word in all documents.
Computing document score based on output flags created in the previous section.
You will evaluate which of these sections are a good fit for the FPGA.