- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was trying to convert cuda files from blender repo and while converting kernel_split.cu dpct just got stuck and remained so for many hours.
Command:
~/Downloads/repos/dpct_repos/blender$ dpct --cuda-include-path=/usr/local/cuda/include --extra-arg="-D__CUDACC__=1" --extra-arg="-D NVCC" --extra-arg="--cuda-gpu-arch=sm_30" --extra-arg="-std=c++17" --out-root=dpct/intern/cycles/kernel/kernels/cuda/ ./intern/cycles/kernel/kernels/cuda/kernel_split.cu
Processing: /home/kuljeet/Downloads/repos/dpct_repos/blender/intern/cycles/kernel/kernels/cuda/kernel_split.cu
OS:
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
dpct version:
Intel(R) DPC++ Compatibility Tool Version: 2021.1-beta08 codebase:(e0b12aa57579014d41e1cd86ecbaaee7de878ce8)
Regards,
Gagan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gagan,
I ran the same dpct command that you have given, on my environment. The migration files got generated almost spontaneously (Refer to the below screenshot).
There are a few warnings/errors generated (missing headers) post migration. Kindly refer to the migrated dpcpp file.
The reason for dpct taking long time for migration could be that if you are running any heavy workload on your machine that might be consuming CPU resources. Again, I'm not really sure. That is just my guess. You may run the "top" command to check CPU usage.
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Any updates on this? Are you able to migrate it?
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you, so I will close this thread from my end. Intel will no longer monitor this thread. Feel free to post a new question if you have issues.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page