Warning, /DataFormats/Portable/scripts/portableDeviceCollectionHints is written in an unsupported language. File is not indexed.
0001 #!/usr/bin/env python3
0002
0003 import sys
0004
0005 # Get collectionand SoAs names
0006 if len(sys.argv) != 2:
0007 raise RuntimeError("Expecting one portable collection name.")
0008
0009 collectionName = sys.argv[1]
0010
0011 print("In <module>/src/alpaka/classes_cuda_def.xml (with necessary includes in <module>/src/aplaka/classes_cuda.h):\n")
0012 print("<lcgdict>")
0013 print(" <!-- Declaration of dictionary entries for the device side structures. By nature (located device-side),")
0014 print(" they are not persistent. -->")
0015 print(" <class name=\"alpaka_cuda_async::%s\" persistent=\"false\"/>" % collectionName)
0016 print(" <class name=\"edm::DeviceProduct<alpaka_cuda_async::%s>\" persistent=\"false\"/>" % collectionName)
0017 print(" <class name=\"edm::Wrapper<edm::DeviceProduct<alpaka_cuda_async::%s>>\" persistent=\"false\"/>" % collectionName)
0018 print("<lcgdict/>\n")
0019
0020 print("In <module>/src/alpaka/classes_rocm_def.xml (with necessary includes in <module>/src/aplaka/classes_rocm.h):\n")
0021 print("<lcgdict>")
0022 print(" <!-- Declaration of dictionary entries for the device side structures. By nature (located device-side),")
0023 print(" they are not persistent. -->")
0024 print(" <class name=\"alpaka_rocm_async::%s\" persistent=\"false\"/>" % collectionName)
0025 print(" <class name=\"edm::DeviceProduct<alpaka_rocm_async::%s>\" persistent=\"false\"/>" % collectionName)
0026 print(" <class name=\"edm::Wrapper<edm::DeviceProduct<alpaka_rocm_async::%s>>\" persistent=\"false\"/>" % collectionName)
0027 print("<lcgdict/>\n")