oneapi-src / SYCLomatic

Other
228 stars 90 forks source link

CUDA graphs #1504

Closed jinz2014 closed 1 month ago

jinz2014 commented 10 months ago

I am curious how Cuda Graphs can be migrated with Syclomatic. Thanks.

tomflinda commented 10 months ago

@jinz2014 Thanks for your interests in this part. The mappings for Cuda Graphs are provided in https://github.com/oneapi-src/SYCLomatic/blob/SYCLomatic/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc, we are WIP to implement the mappings.

oscarbg commented 6 months ago

interesting.. still using a daily build fails: dpct graphMemoryFootprint.cu

  - FilePath:        'graphmemoryfootprint.cu'
    ReplacementText: "    /*\r\n    DPCT1007:33: Migration of cudaGraphLaunch is not supported.\r\n    */\r\n"
    ReplacementText: "    /*\r\n    DPCT1007:27: Migration of cudaGraphExecDestroy is not supported.\r\n    */\r\n"
    ReplacementText: "      /*\r\n      DPCT1007:29: Migration of cudaGraphAddMemAllocNode is not supported.\r\n      */\r\n"
    ReplacementText: "  /*\r\n  DPCT1007:34: Migration of cudaDeviceGraphMemTrim is not supported.\r\n  */\r\n"
    ReplacementText: "  /*\r\n  DPCT1007:31: Migration of cudaGraphDestroy is not supported.\r\n  */\r\n"
    ReplacementText: "  /*\r\n  DPCT1007:30: Migration of cudaGraphInstantiate is not supported.\r\n  */\r\n"