44d76e3bc1d7ab58812d81466b72c0a748b5a9e2
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 127
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public exec(function CUfunction, blockSize int, gridSize int, kernelParameters Pointer) : void renamed to public invoke(blocks int, threadsPerBlock int, function CUfunction, kernelParameters Pointer) : void in class org.nd4j.linalg.jcublas.kernel.KernelFunctions | From | To | |
| Pull Up Method | 4 | ||
| Pull Up Method public z() : INDArray from class org.nd4j.linalg.api.ops.BaseTransformOp to public z() : INDArray from class org.nd4j.linalg.api.ops.BaseOp | From | To | |
| Pull Up Method public zero() : Number from class org.nd4j.linalg.api.ops.impl.accum.Min to public zero() : Number from class org.nd4j.linalg.api.ops.BaseAccumulation | From | To | |
| Pull Up Method public zero() : Number from class org.nd4j.linalg.api.ops.impl.accum.Sum to public zero() : Number from class org.nd4j.linalg.api.ops.BaseAccumulation | From | To | |
| Pull Up Method public zero() : Number from class org.nd4j.linalg.api.ops.impl.accum.Max to public zero() : Number from class org.nd4j.linalg.api.ops.BaseAccumulation | From | To | |
| Move And Rename Method | 2 | ||
| Move And Rename Method private extract(file String, dataType int) : void from class org.nd4j.linalg.jcublas.kernel.KernelFunctions to private loadFile(file String) : String from class org.nd4j.linalg.jcublas.kernel.KernelFunctionLoader | From | To | |
| Move And Rename Method public alloc(dataType int, length int) : Pointer from class org.nd4j.linalg.jcublas.kernel.KernelFunctions to public constructAndAlloc(length int, dType int) : CUdeviceptr from class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Move Method | 4 | ||
| Move Method private nextPow2(x int) : int from class org.nd4j.linalg.jcublas.ops.executioner.JCudaExecutioner to public nextPow2(x int) : int from class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Move Method private sizeFor(dataType int) : int from class org.nd4j.linalg.jcublas.kernel.KernelFunctions to public sizeFor(dataType int) : int from class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Move Method private getNumBlocks(n int, maxBlocks int, maxThreads int) : int from class org.nd4j.linalg.jcublas.ops.executioner.JCudaExecutioner to public getNumBlocks(n int, maxBlocks int, maxThreads int) : int from class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Move Method public constructAndAlloc(length int, dType int) : CUdeviceptr from class org.nd4j.linalg.jcublas.kernel.KernelFunctions to public constructAndAlloc(length int, dType int) : CUdeviceptr from class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Rename Variable | 1 | ||
| Rename Variable results : Pointer[] to params : Pointer[] in method private invoke(op TransformOp, extraArgs Object[]) : void in class org.nd4j.linalg.jcublas.ops.executioner.JCudaExecutioner | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute protected z : INDArray from class org.nd4j.linalg.api.ops.BaseTransformOp to protected z : INDArray from class org.nd4j.linalg.api.ops.BaseOp | From | To | |
| Change Return Type | 4 | ||
| Change Return Type void to String in method private loadFile(file String) : String in class org.nd4j.linalg.jcublas.kernel.KernelFunctionLoader | From | To | |
| Change Return Type double to Number in method public scalar() : Number in class org.nd4j.linalg.api.ops.BaseScalarOp | From | To | |
| Change Return Type double to Number in method public scalar() : Number in class org.nd4j.linalg.api.ops.ScalarOp | From | To | |
| Change Return Type Pointer to CUdeviceptr in method public constructAndAlloc(length int, dType int) : CUdeviceptr in class org.nd4j.linalg.jcublas.util.PointerUtil | From | To | |
| Extract Class | 2 | ||
| Extract Class org.nd4j.linalg.jcublas.util.PointerUtil from class org.nd4j.linalg.jcublas.ops.executioner.JCudaExecutioner | From | To | |
| Extract Class org.nd4j.linalg.jcublas.util.PointerUtil from class org.nd4j.linalg.jcublas.kernel.KernelFunctions | From | To | |
| Extract Method | 1 | ||
| Extract Method private loadFile(file String) : String extracted from public extract(file String, dataType int) : String in class org.nd4j.linalg.jcublas.kernel.KernelFunctionLoader | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter y : INDArray to z : INDArray in method public BaseOp(x INDArray, z INDArray, n int) in class org.nd4j.linalg.api.ops.BaseOp | From | To | |
| Rename Parameter dataType : int to dType : int in method public constructAndAlloc(length int, dType int) : CUdeviceptr in class org.nd4j.linalg.jcublas.util.PointerUtil | From | To |