원클릭으로
paracodex-serial-omp-analysis
ParaCodex prompt for serial omp analysis step.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
ParaCodex prompt for serial omp analysis step.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | paracodex-serial-omp-analysis |
| description | ParaCodex prompt for serial omp analysis step. |
Directory: {kernel_dir}/
Files: {file_listing}
Reference: Check Makefile in {kernel_dir}/ (do not modify)
Analyze loops in {source_dir}/ and produce {kernel_dir}/analysis.md.
Copy source files unmodified to {kernel_dir}/.
The analysis must identify the natural GPU offload unit, helper-fragmentation risk, and whether the default input is too small to guide optimization reliably.
Copy {file_listing} to {kernel_dir} unmodified.
grep -n "for.*iter\|for.*it\|while\|main(" *.c *.cpp 2>/dev/null | head -50
grep -n "for\s*(" *.c *.cpp 2>/dev/null | head -100
Prioritize functions called in main compute loop:
For each loop: iterations × ops/iter = total work
Reference: references/examples.md (See Decision Tree and Type Reference).
Check for Type H first: If an outer loop iterates over independent work items and contains an inner loop whose body is guarded by if (inner_var == 0), classify the inner loop as Type H (CUDA-serial port) and flag it as RESTRUCTURE NEEDED in analysis.md.
Analyze each array:
Structural questions to answer during analysis:
analysis.md instead of helper-by-helper offload.Scalability questions to answer during analysis:
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).
{kernel_dir}/.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.