بنقرة واحدة
paracodex-cuda-sycl-step2
ParaCodex prompt for cuda to sycl step2 (optimization) step.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
ParaCodex prompt for cuda to sycl step2 (optimization) 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 analysis step.
ParaCodex prompt for cuda ocl step1 step.
| name | paracodex-cuda-sycl-step2 |
| description | ParaCodex prompt for cuda to sycl step2 (optimization) step. |
Directory: {kernel_dir}/
Files: {file_listing}
Profile: {profile_log_path}
Reference: {kernel_dir}/sycl_migration_plan.md
Migrated from CUDA → SYCL. Target hardware can varies (Intel GPU, CPU, NVIDIA via PTX).
cd {kernel_dir}
{clean_cmd_str}
timeout 300 {correctness_run_cmd} > current_output.txt 2>&1
diff baseline_output.txt current_output.txt
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:
auto wg_size = kernel_bundle.get_kernel(kernel_id)
.get_info<sycl::info::kernel_device_specific::work_group_size>(q.get_device());
.wait() calls?Reference: references/examples.md.
sycl::malloc_device; use q.memcpy for explicit transfers.sycl::reduce_over_group or sub_group::shuffle_down..depends_on(event) instead of .wait() after every submission to overlap transfers with compute.[[sycl::reqd_work_group_size(N)]] attribute + #pragma unroll for inner loops.[[sycl::reqd_sub_group_size(N)]] (e.g., N=32) to ensure warp-width optimizations apply and avoid fallback to sub-group size 1.{clean_cmd_str}
{build_cmd_str}
timeout 300 {run_cmd_str} > optimized_output.txt 2>&1
diff baseline_output.txt optimized_output.txt
{profile_cmd_str} > {profile_log_path}_optimized 2>&1