بنقرة واحدة
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 المهني
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.
| 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).