KernelExecutionContext.java

1
package net.bmahe.genetics4j.gpu.spec.fitness.kernelcontext;
2
3
import java.util.Optional;
4
5
import org.immutables.value.Value;
6
7
@Value.Immutable
8
public interface KernelExecutionContext {
9
10
	long[] globalWorkSize();
11
12
	Optional<long[]> workGroupSize();
13
14
	@Value.Derived
15
	default int globalWorkDimensions() {
16 2 1. globalWorkDimensions : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::globalWorkSize → NO_COVERAGE
2. globalWorkDimensions : replaced int return with 0 for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::globalWorkDimensions → NO_COVERAGE
		return globalWorkSize().length;
17
	}
18
19
	static class Builder extends ImmutableKernelExecutionContext.Builder {
20
	}
21
22
	static Builder builder() {
23 2 1. builder : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::<init> → NO_COVERAGE
2. builder : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE
		return new Builder();
24
	}
25
}

Mutations

16

1.1
Location : globalWorkDimensions
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::globalWorkSize → NO_COVERAGE

2.2
Location : globalWorkDimensions
Killed by : none
replaced int return with 0 for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::globalWorkDimensions → NO_COVERAGE

23

1.1
Location : builder
Killed by : none
removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::<init> → NO_COVERAGE

2.2
Location : builder
Killed by : none
replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.19.6