comparison src/gpu/ptx/vm/gpu_ptx.hpp @ 13888:51584f76462d

pulled Ptx and Hsail classes out of gpu class namespace
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Feb 2014 11:14:19 +0100
parents 5c8a3c09397b
children 0995dcbd6dd8
comparison
equal deleted inserted replaced
13887:f3e4f746e9c6 13888:51584f76462d
153 unsigned int, unsigned int, unsigned int, 153 unsigned int, unsigned int, unsigned int,
154 unsigned int, unsigned int, unsigned int, 154 unsigned int, unsigned int, unsigned int,
155 unsigned int, void*, void**, void**); 155 unsigned int, void*, void**, void**);
156 typedef int (*cuda_cu_module_get_function_func_t)(void*, void*, const char*); 156 typedef int (*cuda_cu_module_get_function_func_t)(void*, void*, const char*);
157 typedef int (*cuda_cu_module_load_data_ex_func_t)(void*, void*, unsigned int, void*, void**); 157 typedef int (*cuda_cu_module_load_data_ex_func_t)(void*, void*, unsigned int, void*, void**);
158 typedef int (*cuda_cu_memalloc_func_t)(gpu::Ptx::CUdeviceptr*, size_t); 158 typedef int (*cuda_cu_memalloc_func_t)(Ptx::CUdeviceptr*, size_t);
159 typedef int (*cuda_cu_memfree_func_t)(gpu::Ptx::CUdeviceptr); 159 typedef int (*cuda_cu_memfree_func_t)(Ptx::CUdeviceptr);
160 typedef int (*cuda_cu_memcpy_htod_func_t)(gpu::Ptx::CUdeviceptr, const void*, unsigned int); 160 typedef int (*cuda_cu_memcpy_htod_func_t)(Ptx::CUdeviceptr, const void*, unsigned int);
161 typedef int (*cuda_cu_memcpy_dtoh_func_t)(const void*, gpu::Ptx::CUdeviceptr, unsigned int); 161 typedef int (*cuda_cu_memcpy_dtoh_func_t)(const void*, Ptx::CUdeviceptr, unsigned int);
162 typedef int (*cuda_cu_mem_host_register_func_t)(void*, size_t, unsigned int); 162 typedef int (*cuda_cu_mem_host_register_func_t)(void*, size_t, unsigned int);
163 typedef int (*cuda_cu_mem_host_get_device_pointer_func_t)(gpu::Ptx::CUdeviceptr*, void*, unsigned int); 163 typedef int (*cuda_cu_mem_host_get_device_pointer_func_t)(Ptx::CUdeviceptr*, void*, unsigned int);
164 typedef int (*cuda_cu_mem_host_unregister_func_t)(void*); 164 typedef int (*cuda_cu_mem_host_unregister_func_t)(void*);
165 165
166 public: 166 public:
167 static cuda_cu_init_func_t _cuda_cu_init; 167 static cuda_cu_init_func_t _cuda_cu_init;
168 static cuda_cu_ctx_create_func_t _cuda_cu_ctx_create; 168 static cuda_cu_ctx_create_func_t _cuda_cu_ctx_create;