benchmarking: tested int32 also on uni pc
This commit is contained in:
parent
af3b72f196
commit
278a493595
|
@ -60,7 +60,7 @@ function interpret_expression(expressions::CuDeviceArray{ExpressionElement}, var
|
|||
operationStack = MVector{MAX_STACK_SIZE, Float32}(undef) # Try to get this to function with variable size too, to allow better memory usage
|
||||
operationStackTop = 0i32 # stores index of the last defined/valid value
|
||||
|
||||
@inbounds firstVariableIndex = ((varSetIndex-1i32) * stepsize[2]) # Exclusive
|
||||
@inbounds firstVariableIndex = ((varSetIndex - 1i32) * stepsize[2]) # Exclusive
|
||||
|
||||
@inbounds for expr in expressions
|
||||
if expr.Type == EMPTY
|
||||
|
|
|
@ -4,7 +4,7 @@ using BenchmarkTools
|
|||
using .Transpiler
|
||||
using .Interpreter
|
||||
|
||||
const BENCHMARKS_RESULTS_PATH = "./results"
|
||||
const BENCHMARKS_RESULTS_PATH = "./results-fh"
|
||||
exprsCPU = [
|
||||
# CPU interpreter requires an anonymous function and array ref s
|
||||
:(p[1] * x[1] + p[2]), # 5 op
|
||||
|
|
1
package/test/results-fh/4-interpreter_using_int32.json
Normal file
1
package/test/results-fh/4-interpreter_using_int32.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user