Migrating to SYCL
One-stop forum for getting assistance migrating your existing code to SYCL
39 Discussions

How to migrate cudnnCreateActivationDescriptor to SYCL?

Pranav_S_Intel
Employee
364 Views

Hi,

How do I handle the following diagnostics code? I looked up in the diagnostics reference, I did not find anything for cudnnCreateActivationDescriptor.

 

DPCT1027:11: The call to cudnnCreateActivationDescriptor was replaced with 0 because this call is redundant in SYCL.

 

The cuda API migration support shows that cudnnCreateActivationDescriptor is supported. What does it mean? 

Pranav_S_Intel_0-1710267371832.png

 

> dpct --version

Intel(R) DPC++ Compatibility Tool version 2024.0.0. Codebase:(269d56dc1363761a5eddaa9ff178df268ac78efa)

 

0 Kudos
2 Replies
Pranav_S_Intel
Employee
274 Views

Appreciate it if someone could reply to my question.

0 Kudos
wanghao3
Employee
255 Views

The functionality of API cudnnCreateActivationDescriptor is completed in the descriptor object declaration and definition. Therefore, there is no need to call some API to create descriptor explicitly after migration.

0 Kudos
Reply