Add missing "code-blocks" sections in compute samples.