一键导入
paracodex-cuda-ocl-analysis
ParaCodex prompt for cuda ocl analysis step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ParaCodex prompt for cuda ocl analysis step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | paracodex-cuda-ocl-analysis |
| description | ParaCodex prompt for cuda ocl analysis step. |
Directory: {kernel_dir}/
Files: {file_listing}
Reference: Check Makefile in {kernel_dir}/ (do not modify)
Analyze CUDA kernels in {source_dir}/ and produce {kernel_dir}/analysis.md.
Copy source files to {kernel_dir}/ with suffix conversion (.cu → .cl for kernels, .c/.cpp for host).
Do not modify code in this step (logic-wise).
{file_listing} from {source_dir}/..cu → .cl / .cpp..cuh → .h).references/output.md (File Mapping).Makefile if needed or check existing.grep -n "__global__\|__device__" *.cu 2>/dev/null
grep -n "<<<.*>>>" *.cu 2>/dev/null
grep -n "__syncthreads\|cudaDeviceSynchronize" *.cu 2>/dev/null
Reference: references/examples.md (Decision Tree & Patterns).
__syncthreads (maps to barrier), atomicAdd, __shared__ (maps to local).system_info_summary.txt and choose that size against the actual device memory and compute capability; prefer the largest short-run, memory-safe input that should load the GPU meaningfully.Reference: references/output.md (Use this template).
ParaCodex baseline skill: translate serial / parallel code to GPU-offloaded target API, optimize, compile, and run — all in a single session.
ParaCodex prompt for cuda to hip analysis step.
ParaCodex prompt for cuda to hip step1 (implementation) step.
ParaCodex prompt for cuda to hip step2 (optimization) step.
ParaCodex prompt for cuda ocl step1 step.
ParaCodex prompt for cuda ocl step2 step.