云计算与数据中心建设_-_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
您可能关注的文档
最近下载
- 2025年芜湖市繁昌区经开产业投资有限公司招聘工作人员3名考试参考试题及答案解析.docx VIP
- 2025年医学课件-颈动脉狭窄血管内介入术后处理流程.pptx VIP
- 《细菌世界历险记》课外阅读测试题【附答案】.docx VIP
- 120种典型作业岗位应急处置卡.pdf VIP
- DB34T 1466-2023 居住建筑节能设计标准.pdf
- 2026年运动发育考试题及答案.docx
- 2025年五级保育师(初级)职业技能鉴定考试题库(浓缩500题).docx VIP
- 青云山隧道仰拱三级施工技术交底.doc VIP
- 2026年1月浙江省高考(首考)物理试题(含答案).docx
- 普美康说明书-Defi-B.pdf VIP
原创力文档

文档评论(0)