Pārlūkot izejas kodu

prefix perfmodel types

Cédric Augonnet 15 gadi atpakaļ
vecāks
revīzija
c61b664df4

+ 2 - 2
examples/pastix-wrappers/starpu-blas-wrapper.c

@@ -305,7 +305,7 @@ static struct starpu_perfmodel_t starpu_cblk_strsm = {
 		[STARPU_CUDA_DEFAULT] = { .cost_model = starpu_cblk_strsm_cuda_cost }
 	},
 //	.type = REGRESSION_BASED,
-	.type = PER_ARCH,
+	.type = STARPU_PER_ARCH,
 	.symbol = "starpu_cblk_strsm"
 };
 
@@ -404,7 +404,7 @@ static struct starpu_perfmodel_t starpu_compute_contrib_compact = {
 		[STARPU_CUDA_DEFAULT] = { .cost_model = starpu_compute_contrib_compact_cuda_cost }
 	},
 //	.type = REGRESSION_BASED,
-	.type = PER_ARCH,
+	.type = STARPU_PER_ARCH,
 	.symbol = "starpu_compute_contrib_compact"
 };
 

+ 1 - 1
src/task-models/blas_model.c

@@ -61,5 +61,5 @@ struct starpu_perfmodel_t sgemm_model = {
 
 struct starpu_perfmodel_t sgemm_model_common = {
 	.cost_model = gemm_cost,
-	.type = COMMON,
+	.type = STARPU_COMMON,
 };