| 1 | package net.bmahe.genetics4j.gpu.spec.fitness.kernelcontext; | |
| 2 | ||
| 3 | public class KernelExecutionContextComputers { | |
| 4 | ||
| 5 | private KernelExecutionContextComputers() { | |
| 6 | } | |
| 7 | ||
| 8 | public static KernelExecutionContextComputer ofGenotypeSize() { | |
| 9 |
1
1. ofGenotypeSize : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSize → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, |
| 10 |
8
1. lambda$ofGenotypeSize$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSize$0 → NO_COVERAGE 2. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 3. lambda$ofGenotypeSize$0 : Substituted 1 with 0 → NO_COVERAGE 4. lambda$ofGenotypeSize$0 : removed call to java/util/List::size → NO_COVERAGE 5. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE 6. lambda$ofGenotypeSize$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 7. lambda$ofGenotypeSize$0 : Substituted 0 with 1 → NO_COVERAGE 8. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE |
genotypes) -> KernelExecutionContext.builder().globalWorkSize(new long[] { genotypes.size() }).build(); |
| 11 | } | |
| 12 | ||
| 13 | public static KernelExecutionContextComputer ofGlobalWorkSize(final long[] globalWorkSize) { | |
| 14 |
1
1. ofGlobalWorkSize : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, |
| 15 |
5
1. lambda$ofGlobalWorkSize$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize$0 → NO_COVERAGE 2. lambda$ofGlobalWorkSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 3. lambda$ofGlobalWorkSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE 4. lambda$ofGlobalWorkSize$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 5. lambda$ofGlobalWorkSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
genotypes) -> KernelExecutionContext.builder().globalWorkSize(globalWorkSize).build(); |
| 16 | } | |
| 17 | ||
| 18 | public static KernelExecutionContextComputer ofGlobalWorkSize1D(final long globalWorkSize) { | |
| 19 |
1
1. ofGlobalWorkSize1D : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize1D → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, |
| 20 |
7
1. lambda$ofGlobalWorkSize1D$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize1D$0 → NO_COVERAGE 2. lambda$ofGlobalWorkSize1D$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE 3. lambda$ofGlobalWorkSize1D$0 : Substituted 1 with 0 → NO_COVERAGE 4. lambda$ofGlobalWorkSize1D$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE 5. lambda$ofGlobalWorkSize1D$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 6. lambda$ofGlobalWorkSize1D$0 : Substituted 0 with 1 → NO_COVERAGE 7. lambda$ofGlobalWorkSize1D$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE |
genotypes) -> KernelExecutionContext.builder().globalWorkSize(globalWorkSize).build(); |
| 21 | } | |
| 22 | ||
| 23 | public static KernelExecutionContextComputer ofGenotypeSizeAndWorkGroup(final long[] workGroupSize) { | |
| 24 |
5
1. lambda$ofGenotypeSizeAndWorkGroup$0 : Substituted 1 with 0 → NO_COVERAGE 2. ofGenotypeSizeAndWorkGroup : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSizeAndWorkGroup → NO_COVERAGE 3. lambda$ofGenotypeSizeAndWorkGroup$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 4. lambda$ofGenotypeSizeAndWorkGroup$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSizeAndWorkGroup$0 → NO_COVERAGE 5. lambda$ofGenotypeSizeAndWorkGroup$0 : Substituted 0 with 1 → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> KernelExecutionContext.builder() |
| 25 |
3
1. lambda$ofGenotypeSizeAndWorkGroup$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE 2. lambda$ofGenotypeSizeAndWorkGroup$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 3. lambda$ofGenotypeSizeAndWorkGroup$0 : removed call to java/util/List::size → NO_COVERAGE |
.globalWorkSize(new long[] { genotypes.size() }) |
| 26 |
2
1. lambda$ofGenotypeSizeAndWorkGroup$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE 2. lambda$ofGenotypeSizeAndWorkGroup$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE |
.workGroupSize(workGroupSize) |
| 27 |
1
1. lambda$ofGenotypeSizeAndWorkGroup$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 28 | } | |
| 29 | ||
| 30 | public static KernelExecutionContextComputer of(final long[] globalWorkSize, final long[] workGroupSize) { | |
| 31 |
3
1. lambda$of$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 2. lambda$of$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$of$0 → NO_COVERAGE 3. of : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::of → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> KernelExecutionContext.builder() |
| 32 |
2
1. lambda$of$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 2. lambda$of$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE |
.globalWorkSize(globalWorkSize) |
| 33 |
2
1. lambda$of$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE 2. lambda$of$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE |
.workGroupSize(workGroupSize) |
| 34 |
1
1. lambda$of$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 35 | } | |
| 36 | } | |
Mutations | ||
| 9 |
1.1 |
|
| 10 |
1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8 |
|
| 14 |
1.1 |
|
| 15 |
1.1 2.2 3.3 4.4 5.5 |
|
| 19 |
1.1 |
|
| 20 |
1.1 2.2 3.3 4.4 5.5 6.6 7.7 |
|
| 24 |
1.1 2.2 3.3 4.4 5.5 |
|
| 25 |
1.1 2.2 3.3 |
|
| 26 |
1.1 2.2 |
|
| 27 |
1.1 |
|
| 31 |
1.1 2.2 3.3 |
|
| 32 |
1.1 2.2 |
|
| 33 |
1.1 2.2 |
|
| 34 |
1.1 |