with one click
paracodex-ocl-cuda-step2
ParaCodex prompt for ocl cuda step2 step.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
ParaCodex prompt for ocl cuda step2 step.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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 analysis step.
ParaCodex prompt for cuda ocl step1 step.
| name | paracodex-ocl-cuda-step2 |
| description | ParaCodex prompt for ocl cuda step2 step. |
Directory: {kernel_dir}/
Files: {file_listing}
Profile: {profile_log_path}
Reference: {kernel_dir}/cuda_migration_plan.md
Migrated from OpenCL โ CUDA. Target is >1.0x speedup (match or beat OpenCL).
cd {kernel_dir}
{clean_cmd_str}
timeout 300 {correctness_run_cmd} > current_output.txt 2>&1
diff baseline_output.txt current_output.txt
cuda_gpu_kern_sum).system_info_summary.txt to size that run against the actual device. Prefer the largest short-run, memory-safe input that should load the GPU meaningfully, not merely a modest increase over the default.MANDATORY: Create optimization_plan.md in {kernel_dir} using template in references/output.md.
Fill Analysis:
sinf vs __sinf?Reference: references/examples.md (Optimization Examples).
__sinf, __cosf.__shfl_down_sync for reductions.{clean_cmd_str}
{build_cmd_str}
# Check correctness
timeout 300 {run_cmd_str} > optimized_output.txt 2>&1
diff baseline_output.txt optimized_output.txt
# Profile
{profile_cmd_str} > {profile_log_path}_optimized 2>&1
Update optimization_plan.md with final metrics and checklist.