Home
last modified time | relevance | path

Searched refs:ceed_resource (Results 1 – 5 of 5) sorted by relevance

/honee/tests/
H A Dsmartsim_regression_framework.py56 def verify_training_data(database_array, correct_array, ceed_resource, atol=1e-8, rtol=1e-8): argument
113 def test(self, ceed_resource) -> Tuple[bool, Exception, str]: argument
119 '-ceed', ceed_resource,
169 verify_training_data(database_value, correct_value, ceed_resource)
176 verify_training_data(database_value, correct_value, ceed_resource)
183 verify_training_data(database_value, correct_value, ceed_resource)
196 def test_junit(self, ceed_resource): argument
199 passTest, exception, args = self.test(ceed_resource)
213 if not passTest and 'occa' in ceed_resource:
241 for ceed_resource in args.ceed_backends:
[all …]
/honee/src/
H A Dcloptions.c102 …onsString("-ceed", "CEED resource specifier", NULL, app_ctx->ceed_resource, app_ctx->ceed_resource, in ProcessCommandLineOptions()
103 sizeof(app_ctx->ceed_resource), &ceed_flag)); in ProcessCommandLineOptions()
171 const char *ceed_resource = "/cpu/self"; in ProcessCommandLineOptions() local
172 strncpy(app_ctx->ceed_resource, ceed_resource, 10); in ProcessCommandLineOptions()
177 …if (strncmp(app_ctx->ceed_resource, "/gpu", 4) == 0) PetscCall(PetscDeviceInitialize(PETSC_DEVICE_… in ProcessCommandLineOptions()
/honee/examples/
H A Dnavierstokes.c45 …PetscCheck(CeedInit(app_ctx->ceed_resource, &ceed) == CEED_ERROR_SUCCESS, comm, PETSC_ERR_LIB, "Ce… in main()
/honee/problems/
H A Dsgs_dd_model.c254 const char *ceed_resource; in SgsDDSetupNodalEvaluation_Sequential_Torch() local
259 PetscCallCeed(ceed, CeedGetResource(ceed, &ceed_resource)); in SgsDDSetupNodalEvaluation_Sequential_Torch()
260 if (strstr(ceed_resource, "/gpu/cuda")) model_device_type = TORCH_DEVICE_CUDA; in SgsDDSetupNodalEvaluation_Sequential_Torch()
261 else if (strstr(ceed_resource, "/gpu/hip")) model_device_type = TORCH_DEVICE_HIP; in SgsDDSetupNodalEvaluation_Sequential_Torch()
/honee/include/
H A Dnavierstokes.h80 char ceed_resource[PETSC_MAX_PATH_LEN]; // libCEED backend member