# amdOpenclSample **Repository Path**: wujun6/amd-opencl-sample ## Basic Information - **Project Name**: amdOpenclSample - **Description**: 以amd官方opencl示例为基础,在windows10 ,vs2019,Nvidia显卡上进行复现官方示例。 需要安装cuda。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-09 - **Last Updated**: 2021-07-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 概述 + 从同事那里获得一份AMD OpenCL官方示例,AMDAPP_samples-master.zip,原示例使用cmake,g++编译。 + 本工程在windows10,cuda11.3,vs2019下复现该示例。 + 本工程用于OpenCL学习者参考。 ## HelloWorld HelloWorld is an OpenCL kernel that modifies the input string GdkknVnqkc. Each kernel thread receives one character of the string and increments the assigned output by 1. For example: workitem 0 gets G, and G plus 1 is H in ASCII. So, the string changes to “HelloWorld” after kernel execution.