forked from Roger-luo/MAGMA.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jerry/add magma malloc #1
Open
JerryChen97
wants to merge
49
commits into
JerryChen97:master
Choose a base branch
from
Roger-luo:jerry/add_magma_malloc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 7b385cc.
* Add the samples file folder for the prototypes This is a prototype sample. So it may not be run successfully but requires further functions wrapped which are the essential utilities of MAGMA and have not been finished yet. * GSoC MAGMA binding Proposal v1.1 * Delete samples.jl * Delete proposal_v1.1.pdf * Add files via upload * Update .gitignore * Update .gitignore * Changed the folder name from binary to build, for later usage of BinaryProvider * Edited the script 'samples.jl': modified some print info. Currently known bug: (maybe) inappropriate usage of 'convert' ERROR: LoadError: ArgumentError: cannot take the CPU address of a GPU buffer Stacktrace: [1] convert(::Type{Ptr{Float32}}, ::CUDAdrv.Mem.DeviceBuffer) at /home/jerry/.julia/packages/CUDAdrv/3cR2F/src/memory.jl:83 [2] unsafe_convert(::Type{Ptr{Float32}}, ::CUDAdrv.Mem.DeviceBuffer) at /home/jerry/.julia/packages/CUDAdrv/3cR2F/src/memory.jl:32 [3] unsafe_convert(::Type{PtrOrCuPtr{Float32}}, ::CUDAdrv.Mem.DeviceBuffer) at /home/jerry/.julia/packages/CUDAdrv/3cR2F/src/pointer.jl:115 [4] magmaSgesvd(::Int64, ::Int64, ::Int64, ::Int64, ::CuArray{Float32,2}, ::Int64, ::CuArray{Float32,2}, ::CuArray{Float32,2}, ::Int64, ::CuArray{Float32,2}, ::Int64, ::CuArray{Float32,1}, ::Int64, ::Array{Int32,1}) at /home/jerry/MAGMA.jl-1/samples/samples.jl:45 [5] gesvd!(::Int64, ::Int64, ::CuArray{Float32,2}, ::Int64, ::Int64, ::Int64) at /home/jerry/MAGMA.jl-1/samples/samples.jl:166 [6] top-level scope at none:0 in expression starting at /home/jerry/MAGMA.jl-1/samples/samples.jl:191 * This is just a prototype for simply testing the compatibility. Will be re-organized and heavily polished later. * Constructed the hierarchy of source codes * Simply introduced how to utilize current NAIVE test.jl. Will improve later. * Turned the Utilities part into a module * Cleaned the testing prototype and correct some errors in the lowest wrappers * Constructed the tests hierarchy and encoded the original test.jl file. * Corrected the path. There shouldn't be spaces and uppercases. * Change the data types "Float64" and "Float32" to standard alias "Cdouble" and "Cfloat" * Change the data types "Float64" and "Float32" to standard alias "Cdouble" and "Cfloat" * Changed the path names to much shorter version. Also edited the test path * Edited the README * Slightly altered the testing logic so that it looks more natural. * Edited the README.md * Corrected the README.md * Deleted useless samples * deleted useless test.jl in the test/ folder * Polished some usage * Corrected the name of Sgesvd testing. * polished testing files * Changed to test_broken * Deleted the [deps] on Revise which shouldn't exist. * REMOVE unnecessary modules and DELETE redundant files. * ADD a file 'gesvd2.jl' using @eval to generate wrappers, CHANGE tests. * POLISH gesvd2.jl and FIX the test for sgesvd. Now the two tests passed.
* rm uncessary code * rm uncessary files * polish code * squeeze the test * update * polish file * edit tab * edit tab
Because now the wrappers are for CPU routines.
…interfacte for magma gesvd.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.