diff --git a/src/sycl_comp.cpp b/src/sycl_comp.cpp index 6263b99..420c7fa 100644 --- a/src/sycl_comp.cpp +++ b/src/sycl_comp.cpp @@ -132,7 +132,11 @@ auto matrixMultTransposeSYCL(sycl::queue &q, const Matrix &matA, return matRes.chksum(); } -/* Obtains the previous power of two from the given integer. +/* + * Obtained from + * https://github.com/codeplaysoftware/computecpp-sdk/blob/master/samples/matrix-multiply.cpp + * + * Obtains the previous power of two from the given integer. * It works by masking out all ones after the first one bit, * then leaves the first one bit intact, effectively * yielding the first power of two < x. */