GPU memory model

Following a discussion that occurred at Gallium, I recently wondered what was the kind of memory model exposed by a GPU (read: my awesome gamer’s GPU).


Portable conditionals in makefiles

If you are writing software that works on many variants of Unix, you are confronted to the problem of Makefiles: some systems use GNU make and others use BSD make and these two are compatible, but only on a very restricted subset. The most problematic restriction is that they don’t have a common syntax for writing conditionals.

So how do you write conditionals that work on both variants? GNU make and BSD make share so few of their “new” features (features that were not in UNIX make) that it looks like an impossible task.