Skip to content

Commit

Permalink
Merge pull request #128 from JuliaGPU/vc/0.6
Browse files Browse the repository at this point in the history
fix oversights and typos
  • Loading branch information
vchuravy authored Feb 10, 2017
2 parents 783774e + fbba992 commit 47fbbdd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/api/opencl_1.0.0.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@
(CL_mem, Ptr{CL_GL_object_type}, Ptr{GL_uint}))

@ocl_func(clGetGLTextureInfo, CL_int,
(CL_mem, CL_GL_texture_info, CSize_t, Ptr{Void}, Ptr{CSize_t}))
(CL_mem, CL_GL_texture_info, Csize_t, Ptr{Void}, Ptr{Csize_t}))
8 changes: 4 additions & 4 deletions src/api/opencl_2.0.0.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@

#=== Enqueued Commands APIs ===#
@ocl_func(clEnqueueSVMFree, CL_int,
(CL_command_queue, CL_uint, Ptr{Ptr{Void}}, Ptr{Void}, Prt{Void},
(CL_command_queue, CL_uint, Ptr{Ptr{Void}}, Ptr{Void}, Ptr{Void},
CL_uint, Ptr{CL_event}, Ptr{CL_event}))

@ocl_func(clEnqueueSVMMemcpy, CL_int,
(CL_command_queue, CL_bool, Ptr{Void}, Ptr{Void}, Csize_t,
cl_uint, Ptr{CL_event}, Ptr{CL_event}))
CL_uint, Ptr{CL_event}, Ptr{CL_event}))

@ocl_func(clEnqueueSVMMemFill, CL_int,
(CL_command_queue, Ptr{Void}, Ptr{Void}, Csize_t, Csize_t,
CL_uint, Ptr{CL_event}, Ptr{CL_event}))

@ocl_func(clEnqueueSVMMap, CL_int,
(CL_command_queue, CL_bool, CL_map_flags, Ptr{Void}, Csize_t,
Cl_uint, Ptr{CL_event}, Ptr{CL_event}))
CL_uint, Ptr{CL_event}, Ptr{CL_event}))

@ocl_func(clEnqueueSVMUnmap, CL_int,
(CL_command_queue, Ptr{Void}, CL_uint, Ptr{Cl_event}, Ptr{CL_event}))
(CL_command_queue, Ptr{Void}, CL_uint, Ptr{CL_event}, Ptr{CL_event}))

#=== deprecation ===#

Expand Down
1 change: 1 addition & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ typealias CL_program_info CL_uint
typealias CL_program_build_info CL_uint
typealias CL_build_status CL_int
typealias CL_kernel_info CL_uint
typealias CL_kernel_arg_info CL_uint
typealias CL_kernel_work_group_info CL_uint
typealias CL_event_info CL_uint
typealias CL_command_type CL_uint
Expand Down

0 comments on commit 47fbbdd

Please sign in to comment.