Hacker News new | ask | show | jobs
by code-scope 1950 days ago
Very Cool project:

Love GPGPU, I git clone it and try to understand the code better here:

   https://www.code-scope.com/s/s/u#c=sd&uh=0f2c2fa280a2&h=afe7a329&di=-1&i=38
It looks like 5 stages FP (FP32?) pipe lines, NUM_VECTOR_LANES =16 NUM_REGISTERS=32

Are you writing your own kernel from scratch? If so which CPU does it runs on - some embedded CPU inside FPGA?

In the mandelbrot.c code, it has following: #define vector_mixi __builtin_nyuzi_vector_mixi

    How does it get translate to vector operations in FPGA?  Where is the code implement the __builtin_*?
Thanks a lot an very interesting project.