en un clic
paracodex-cuda-omp-step2
ParaCodex prompt for cuda omp step2 step.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
ParaCodex prompt for cuda omp step2 step.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
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-cuda-omp-step2 |
| description | ParaCodex prompt for cuda omp step2 step. |
Directory: {kernel_dir}/
Files: {file_listing}
Profile: {profile_log_path}
You may replace the step1 offload/data strategy if the profile shows the current structure is wrong
If current combined GPU kernel + memcpy + sync cost is within 5% of expected optimal and kernel count / transfer cost / host overhead are already reasonable:
optimization_plan.md (See references/output.md).Migrated from CUDA → OpenMP. See references/examples.md for Context and Common Bottlenecks.
cd {kernel_dir}
{clean_cmd_str}
timeout 300 {correctness_run_cmd} > current_output.txt 2>&1
diff baseline_output.txt current_output.txt | grep -E "Verification|SUCCESSFUL|FAILED"
If errors, fix them before continuing.
cuda_gpu_kern_sum, cuda_mem_time, gpu activity).nvidia-smi).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.optimization_plan.md using template in references/output.md.
Reference: See references/examples.md for "Fusion Rules" and "Optimization Checklist".
MANDATORY structural check before tuning
optimization_plan.md.Reference: references/examples.md (Checklist & Syntax).
omp_target_alloc.collapse(N).Update optimization_plan.md with:
references/output.md).{clean_cmd_str}
{nsys_profile_cmd} > {profile_log_path} 2>&1
# Fallback: {nsys_profile_fallback_cmd} > {profile_log_path} 2>&1
grep -E "cuda_gpu_kern|CUDA GPU Kernel|GPU activities" {profile_log_path} | head -10 || echo "No kernel information found"
references/examples.md).