云计算与数据中心建设_-_2云计算中的并行数据处理讲义教材.ppt
Step2: Build Program, Select Kernel // create the program cl_program myprog = clCreateProgramWithSource ( myctx,1, (const char **)source, program_length, ciErrNum); // build the program ciErrNum = clBuildProgram( myprog, 0, NULL, NULL, NULL, NULL); //Use the “image_rotate” function as the kernel cl_kernel mykernel = clCreateKernel ( myprog , “image_rotate” , error_code) Query Platform Query Devices Command Queue Create Buffers Compile Program Compile Kernel Execute Kernel Set Arguments Platform Layer Runtime Layer Compiler Step3: Set Arguments, Enqueue Kernel
您可能关注的文档
最近下载
- 2023年合肥市第四人民医院医护人员招聘考试题库及答案解析.docx VIP
- 2026年江苏省自考07827唐宋诗词鉴赏考点重点汇总.docx
- SMART行为学系统 行为学视频追踪系统 SMART V3.0 用户手册.pdf
- DT3000-AIO一体化电梯控制器说明手册(精简版).pdf
- 福建省福州市2025-2026学年八年级下学期质量抽测生物试卷(有答案).pdf VIP
- 可编程彩灯控制器原理及设计.docx VIP
- 莆田市仙游县(2025年)辅警招聘警务辅助人员考试题库真题试卷公安基础知识及答案.docx
- 简洁大气深入开展学习教育立党为公为民造福PPT2026党内主题教育专题党课课件(优质ppt).pptx VIP
- 咸阳市杨陵区2025-2026学年第二学期六年级语文期末考试卷(部编版含答案).docx VIP
- DTE24 ULTRA MSDS_1003696美孚长效液压油.pdf VIP
原创力文档

文档评论(0)