@@ -22,6 +22,8 @@ class TargetEncoderMeanTask : public Task<TargetEncoderMeanTask, TARGET_ENCODER_
22
22
public:
23
23
static constexpr auto CPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
24
24
static constexpr auto GPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
25
+ static inline const auto TASK_CONFIG =
26
+ legate::TaskConfig{legate::LocalTaskID{TARGET_ENCODER_MEAN}};
25
27
26
28
static void cpu_variant (legate::TaskContext context);
27
29
#ifdef LEGATEBOOST_USE_CUDA
@@ -33,6 +35,8 @@ class TargetEncoderVarianceTask : public Task<TargetEncoderVarianceTask, TARGET_
33
35
public:
34
36
static constexpr auto CPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
35
37
static constexpr auto GPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
38
+ static inline const auto TASK_CONFIG =
39
+ legate::TaskConfig{legate::LocalTaskID{TARGET_ENCODER_VARIANCE}};
36
40
37
41
static void cpu_variant (legate::TaskContext context);
38
42
#ifdef LEGATEBOOST_USE_CUDA
@@ -44,6 +48,8 @@ class TargetEncoderEncodeTask : public Task<TargetEncoderEncodeTask, TARGET_ENCO
44
48
public:
45
49
static constexpr auto CPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
46
50
static constexpr auto GPU_VARIANT_OPTIONS = legate::VariantOptions{}.with_has_allocations(false );
51
+ static inline const auto TASK_CONFIG =
52
+ legate::TaskConfig{legate::LocalTaskID{TARGET_ENCODER_ENCODE}};
47
53
48
54
static void cpu_variant (legate::TaskContext context);
49
55
#ifdef LEGATEBOOST_USE_CUDA
0 commit comments