- added example05 for clfft real in-place transform

- added readme to example04 for installing clfft
This commit is contained in:
Dakota St. Laurent
2015-08-03 18:38:14 -04:00
parent 14438e2355
commit 3af7ec6c3b
6 changed files with 235 additions and 15 deletions

View File

@@ -107,9 +107,7 @@ int main( int argc, char* argv[] ) {
clfftEnqueueTransform(planHandleForward, CLFFT_FORWARD, 1, &queue, 0, NULL, NULL, &inputBuffers, NULL, NULL);
clFinish(queue);
err = clEnqueueNDRangeKernel(queue, k_mult, 1, NULL, &globalSize, &localSize, 0, NULL, NULL);
if (err != CL_SUCCESS)
printf("oh wtf\n");
err = clEnqueueNDRangeKernel(queue, k_mult, 1, NULL, &globalSize, &localSize, 0, NULL, NULL);
clfftEnqueueTransform(planHandleBackward, CLFFT_BACKWARD, 1, &queue, 0, NULL, NULL, &inputBuffers, NULL, NULL);