Writing descriptors computation kernel