there are so many cores

Just another site

Hand written compilers are more evil

It’s even more complicated. Hand written compilers are probably worse than hand written parsers. The data structures and algorithm problems are very difficult to get right. It must be more evil than a hand crafted parser state machine.

I’m on the edge of getting nested reductions to work. In other words, multiple levels of nested for-loops in the JIT with OpenCL. This comes up with matrix multiply as calculated by the matmul() function (which has four distinct polymorphic variants: outer product; vector-matrix; matrix-vector; matrix-matrix). Unfortunately, I am too tired and unable to keep it all straight. I have to sleep first.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: