/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Portable/scripts/portableDeviceCollectionHints
28 строк
2 KB
markus
Removed PortableHostMultiCollection and PortableDeviceMultiCollection
14 янв 2026, 11:46
14 янв 2026, 11:46
66d196a
Код
Авторство
О чём код?
#!/usr/bin/env python3 import sys # Get collectionand SoAs names if len(sys.argv) != 2: raise RuntimeError("Expecting one portable collection name.") collectionName = sys.argv[1] # TODO: do we need to change something here becuase of the removal of PortableMultiCollection? print("In <module>/src/alpaka/classes_cuda_def.xml (with necessary includes in <module>/src/aplaka/classes_cuda.h):\n") print("<lcgdict>") print(" <!-- Declaration of dictionary entries for the device side structures. By nature (located device-side),") print(" they are not persistent. -->") print(" <class name=\"alpaka_cuda_async::%s\" persistent=\"false\"/>" % collectionName) print(" <class name=\"edm::DeviceProduct<alpaka_cuda_async::%s>\" persistent=\"false\"/>" % collectionName) print(" <class name=\"edm::Wrapper<edm::DeviceProduct<alpaka_cuda_async::%s>>\" persistent=\"false\"/>" % collectionName) print("<lcgdict/>\n") print("In <module>/src/alpaka/classes_rocm_def.xml (with necessary includes in <module>/src/aplaka/classes_rocm.h):\n") print("<lcgdict>") print(" <!-- Declaration of dictionary entries for the device side structures. By nature (located device-side),") print(" they are not persistent. -->") print(" <class name=\"alpaka_rocm_async::%s\" persistent=\"false\"/>" % collectionName) print(" <class name=\"edm::DeviceProduct<alpaka_rocm_async::%s>\" persistent=\"false\"/>" % collectionName) print(" <class name=\"edm::Wrapper<edm::DeviceProduct<alpaka_rocm_async::%s>>\" persistent=\"false\"/>" % collectionName) print("<lcgdict/>\n")