benchmarking: tested int32 also on uni pc

This commit is contained in:
Daniel 2025-04-13 11:43:17 +02:00
parent af3b72f196
commit 278a493595
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

File diff suppressed because one or more lines are too long