SYCLomatic icon indicating copy to clipboard operation
SYCLomatic copied to clipboard

CUDA graphs

Open jinz2014 opened this issue 1 year ago • 2 comments

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

jinz2014 avatar Dec 11 '23 00:12 jinz2014

@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.

tomflinda avatar Dec 12 '23 08:12 tomflinda

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"


oscarbg avatar Apr 15 '24 06:04 oscarbg