<commit_before>importall ParallelAccelerator

function opt_At_mul_B!(U, X, W)
	 #At_mul_B!(U, X, W)  # u <- w'x
	 U = X' * W
end

function main(m::Int, k::Int, n::Int)
    U  = Array(Float64, n, k)
    W  = Array(Float64, m, k)   
    X = Array(Float64, m, n)
    fill!(W, 3)
    fill!(X, 5)
    opt_At_mul_B!(U, X, W)
    println("done")

end

main(100, 100, 200)<commit_msg>changed tests to us 'using', instead of 'importall'<commit_after>using ParallelAccelerator

@acc function opt_At_mul_B!(U, X, W)
	 #At_mul_B!(U, X, W)  # u <- w'x
	 U = X' * W
end

function main(m::Int, k::Int, n::Int)
    U  = Array(Float64, n, k)
    W  = Array(Float64, m, k)   
    X = Array(Float64, m, n)
    fill!(W, 3)
    fill!(X, 5)
    opt_At_mul_B!(U, X, W)
    println("done")

end

main(100, 100, 200)
{'fraction_non_alphanumeric': 0.17699115044247787, 'fraction_numerical': 0.04298356510745891, 'mean_word_length': 3.1036269430051813, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6235882', 'n_tokens_mistral': 392, 'n_tokens_neox': 356, 'n_words': 93}