KernelExecutionContextComputers.java

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, genotypes) -> {
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
			return KernelExecutionContext.builder().globalWorkSize(new long[] { genotypes.size() }).build();
11
		};
12
	}
13
14
	public static KernelExecutionContextComputer ofGlobalWorkSize(final long[] globalWorkSize) {
15 1 1. ofGlobalWorkSize : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize → NO_COVERAGE
		return (openCLExecutionContext, kernelName, generation, genotypes) -> {
16 5 1. lambda$ofGlobalWorkSize$1 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE
2. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE
3. lambda$ofGlobalWorkSize$1 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize$1 → NO_COVERAGE
4. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE
5. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE
			return KernelExecutionContext.builder().globalWorkSize(globalWorkSize).build();
17
		};
18
	}
19
20
	public static KernelExecutionContextComputer ofGlobalWorkSize1D(final long globalWorkSize) {
21 1 1. ofGlobalWorkSize1D : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize1D → NO_COVERAGE
		return (openCLExecutionContext, kernelName, generation, genotypes) -> {
22 7 1. lambda$ofGlobalWorkSize1D$2 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize1D$2 → NO_COVERAGE
2. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE
3. lambda$ofGlobalWorkSize1D$2 : Substituted 1 with 0 → NO_COVERAGE
4. lambda$ofGlobalWorkSize1D$2 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE
5. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE
6. lambda$ofGlobalWorkSize1D$2 : Substituted 0 with 1 → NO_COVERAGE
7. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE
			return KernelExecutionContext.builder().globalWorkSize(globalWorkSize).build();
23
		};
24
	}
25
26
	public static KernelExecutionContextComputer ofGenotypeSizeAndWorkGroup(final long[] workGroupSize) {
27 1 1. ofGenotypeSizeAndWorkGroup : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSizeAndWorkGroup → NO_COVERAGE
		return (openCLExecutionContext, kernelName, generation, genotypes) -> {
28 4 1. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE
2. lambda$ofGenotypeSizeAndWorkGroup$3 : Substituted 1 with 0 → NO_COVERAGE
3. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSizeAndWorkGroup$3 → NO_COVERAGE
4. lambda$ofGenotypeSizeAndWorkGroup$3 : Substituted 0 with 1 → NO_COVERAGE
			return KernelExecutionContext.builder()
29 3 1. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE
2. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to java/util/List::size → NO_COVERAGE
3. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE
					.globalWorkSize(new long[] { genotypes.size() })
30 2 1. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE
2. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE
					.workGroupSize(workGroupSize)
31 1 1. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE
					.build();
32
		};
33
	}
34
35
	public static KernelExecutionContextComputer of(final long[] globalWorkSize, final long[] workGroupSize) {
36 1 1. of : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::of → NO_COVERAGE
		return (openCLExecutionContext, kernelName, generation, genotypes) -> {
37 7 1. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE
2. lambda$of$4 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE
3. lambda$of$4 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE
4. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE
5. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE
6. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE
7. lambda$of$4 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$of$4 → NO_COVERAGE
			return KernelExecutionContext.builder().globalWorkSize(globalWorkSize).workGroupSize(workGroupSize).build();
38
		};
39
	}
40
}

Mutations

9

1.1
Location : ofGenotypeSize
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSize → NO_COVERAGE

10

1.1
Location : lambda$ofGenotypeSize$0
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSize$0 → NO_COVERAGE

2.2
Location : lambda$ofGenotypeSize$0
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

3.3
Location : lambda$ofGenotypeSize$0
Killed by : none
Substituted 1 with 0 → NO_COVERAGE

4.4
Location : lambda$ofGenotypeSize$0
Killed by : none
removed call to java/util/List::size → NO_COVERAGE

5.5
Location : lambda$ofGenotypeSize$0
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE

6.6
Location : lambda$ofGenotypeSize$0
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE

7.7
Location : lambda$ofGenotypeSize$0
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

8.8
Location : lambda$ofGenotypeSize$0
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE

15

1.1
Location : ofGlobalWorkSize
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize → NO_COVERAGE

16

1.1
Location : lambda$ofGlobalWorkSize$1
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE

2.2
Location : lambda$ofGlobalWorkSize$1
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE

3.3
Location : lambda$ofGlobalWorkSize$1
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize$1 → NO_COVERAGE

4.4
Location : lambda$ofGlobalWorkSize$1
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

5.5
Location : lambda$ofGlobalWorkSize$1
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE

21

1.1
Location : ofGlobalWorkSize1D
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize1D → NO_COVERAGE

22

1.1
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize1D$2 → NO_COVERAGE

2.2
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE

3.3
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
Substituted 1 with 0 → NO_COVERAGE

4.4
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE

5.5
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE

6.6
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

7.7
Location : lambda$ofGlobalWorkSize1D$2
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

27

1.1
Location : ofGenotypeSizeAndWorkGroup
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSizeAndWorkGroup → NO_COVERAGE

28

1.1
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

2.2
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
Substituted 1 with 0 → NO_COVERAGE

3.3
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSizeAndWorkGroup$3 → NO_COVERAGE

4.4
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

29

1.1
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE

2.2
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
removed call to java/util/List::size → NO_COVERAGE

3.3
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE

30

1.1
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE

2.2
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE

31

1.1
Location : lambda$ofGenotypeSizeAndWorkGroup$3
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE

36

1.1
Location : of
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::of → NO_COVERAGE

37

1.1
Location : lambda$of$4
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE

2.2
Location : lambda$of$4
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE

3.3
Location : lambda$of$4
Killed by : none
replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE

4.4
Location : lambda$of$4
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE

5.5
Location : lambda$of$4
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE

6.6
Location : lambda$of$4
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

7.7
Location : lambda$of$4
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$of$4 → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.20.3