Uses of Class
org.jocl.cl_device_id
-
Uses of cl_device_id in org.jocl
Methods in org.jocl with parameters of type cl_device_idModifier and TypeMethodDescriptionstatic intCL.clBuildProgram(cl_program program, int num_devices, cl_device_id[] device_list, String options, BuildProgramFunction pfn_notify, Object user_data) Builds (compiles and links) a program executable from the program source or binary.private static intCL.clBuildProgramNative(cl_program program, int num_devices, cl_device_id[] device_list, String options, BuildProgramFunction pfn_notify, Object user_data) static intCL.clCompileProgram(cl_program program, int num_devices, cl_device_id[] device_list, String options, int num_input_headers, cl_program[] input_headers, String[] header_include_names, BuildProgramFunction pfn_notify, Object user_data) Compiles a programs source for all the devices or a specific device(s) in the OpenCL context associated withprogram.private static intCL.clCompileProgramNative(cl_program program, int num_devices, cl_device_id[] device_list, String options, int num_input_headers, cl_program[] input_headers, String[] header_include_names, BuildProgramFunction pfn_notify, Object user_data) static cl_command_queueCL.clCreateCommandQueue(cl_context context, cl_device_id device, long properties, int[] errcode_ret) Deprecated.As of OpenCL 2.0.private static cl_command_queueCL.clCreateCommandQueueNative(cl_context context, cl_device_id device, long properties, int[] errcode_ret) static cl_command_queueCL.clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, cl_queue_properties properties, int[] errcode_ret) Create a host or device command-queue on a specific device.private static cl_command_queueCL.clCreateCommandQueueWithPropertiesNative(cl_context context, cl_device_id device, cl_queue_properties properties, int[] errcode_ret) static cl_contextCL.clCreateContext(cl_context_properties properties, int num_devices, cl_device_id[] devices, CreateContextFunction pfn_notify, Object user_data, int[] errcode_ret) Creates an OpenCL context.private static cl_contextCL.clCreateContextNative(cl_context_properties properties, int num_devices, cl_device_id[] devices, CreateContextFunction pfn_notify, Object user_data, int[] errcode_ret) static cl_programCL.clCreateProgramWithBinary(cl_context context, int num_devices, cl_device_id[] device_list, long[] lengths, byte[][] binaries, int[] binary_status, int[] errcode_ret) Creates a program object for a context, and loads the binary bits specified by binary into the program object.private static cl_programCL.clCreateProgramWithBinaryNative(cl_context context, int num_devices, cl_device_id[] device_list, long[] lengths, byte[][] binaries, int[] binary_status, int[] errcode_ret) static cl_programCL.clCreateProgramWithBuiltInKernels(cl_context context, int num_devices, cl_device_id[] device_list, String kernel_names, int[] errcode_ret) Creates a program object for a context, and loads the information related to the built-in kernels into a program object.private static cl_programCL.clCreateProgramWithBuiltInKernelsNative(cl_context context, int num_devices, cl_device_id[] device_list, String kernel_names, int[] errcode_ret) static intCL.clCreateSubDevices(cl_device_id in_device, cl_device_partition_property properties, int num_devices, cl_device_id[] out_devices, int[] num_devices_ret) Creates an array of sub-devices that each reference a non-intersecting set of compute units withinin_device.private static intCL.clCreateSubDevicesNative(cl_device_id in_device, cl_device_partition_property properties, int num_devices, cl_device_id[] out_devices, int[] num_devices_ret) static intCL.clGetDeviceIDs(cl_platform_id platform, long device_type, int num_entries, cl_device_id[] devices, int[] num_devices) Obtain the list of devices available on a platform.private static intCL.clGetDeviceIDsNative(cl_platform_id platform, long device_type, int num_entries, cl_device_id[] devices, int[] num_devices) static intCL.clGetDeviceInfo(cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) Get information about an OpenCL device.private static intCL.clGetDeviceInfoNative(cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static intCL.clGetKernelWorkGroupInfo(cl_kernel kernel, cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) Returns information about the kernel object that may be specific to a device.private static intCL.clGetKernelWorkGroupInfoNative(cl_kernel kernel, cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static intCL.clGetProgramBuildInfo(cl_program program, cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) Returns build information for each device in the program object.private static intCL.clGetProgramBuildInfoNative(cl_program program, cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static cl_programCL.clLinkProgram(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) Links a set of compiled program objects and libraries for all the devices or a specific device(s) in the OpenCL context and creates an executable.private static cl_programCL.clLinkProgramNative(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) static intCL.clReleaseDevice(cl_device_id device) Decrements thedevicereference count.private static intCL.clReleaseDeviceNative(cl_device_id device) static intCL.clRetainDevice(cl_device_id device) Increments thedevicesreference count.private static intCL.clRetainDeviceNative(cl_device_id device)