• Home
  • Raw
  • Download

Lines Matching refs:cast

74     return device->cast<Device>().getInfo(param_name, param_value_size, param_value,  in GetDeviceInfo()
84 return in_device->cast<Device>().createSubDevices(properties, num_devices, out_devices, in CreateSubDevices()
90 Device &dev = device->cast<Device>(); in RetainDevice()
100 Device &dev = device->cast<Device>(); in ReleaseDevice()
159 context->cast<Context>().retain(); in RetainContext()
165 Context &ctx = context->cast<Context>(); in ReleaseContext()
179 return context->cast<Context>().getInfo(param_name, param_value_size, param_value, in GetContextInfo()
197 return context->cast<Context>().createCommandQueueWithProperties(device, properties, errorCode); in CreateCommandQueueWithProperties()
202 command_queue->cast<CommandQueue>().retain(); in RetainCommandQueue()
208 CommandQueue &queue = command_queue->cast<CommandQueue>(); in ReleaseCommandQueue()
222 return command_queue->cast<CommandQueue>().getInfo(param_name, param_value_size, param_value, in GetCommandQueueInfo()
232 return context->cast<Context>().createBuffer(nullptr, flags, size, host_ptr, errorCode); in CreateBuffer()
242 return context->cast<Context>().createBuffer(properties, flags, size, host_ptr, errorCode); in CreateBufferWithProperties()
251 return buffer->cast<Buffer>().createSubBuffer(flags, buffer_create_type, buffer_create_info, in CreateSubBuffer()
262 return context->cast<Context>().createImage(nullptr, flags, image_format, image_desc, host_ptr, in CreateImage()
274 return context->cast<Context>().createImage(properties, flags, image_format, image_desc, in CreateImageWithProperties()
291 memobj->cast<Memory>().retain(); in RetainMemObject()
297 Memory &memory = memobj->cast<Memory>(); in ReleaseMemObject()
312 return context->cast<Context>().getSupportedImageFormats(flags, image_type, num_entries, in GetSupportedImageFormats()
322 return memobj->cast<Memory>().getInfo(param_name, param_value_size, param_value, in GetMemObjectInfo()
332 return image->cast<Image>().getInfo(param_name, param_value_size, param_value, in GetImageInfo()
350 return memobj->cast<Memory>().setDestructorCallback(pfn_notify, user_data); in SetMemObjectDestructorCallback()
368 return context->cast<Context>().createSamplerWithProperties(sampler_properties, errorCode); in CreateSamplerWithProperties()
373 sampler->cast<Sampler>().retain(); in RetainSampler()
379 Sampler &smplr = sampler->cast<Sampler>(); in ReleaseSampler()
393 return sampler->cast<Sampler>().getInfo(param_name, param_value_size, param_value, in GetSamplerInfo()
403 return context->cast<Context>().createProgramWithSource(count, strings, lengths, errorCode); in CreateProgramWithSource()
414 return context->cast<Context>().createProgramWithBinary(num_devices, device_list, lengths, in CreateProgramWithBinary()
424 return context->cast<Context>().createProgramWithBuiltInKernels(num_devices, device_list, in CreateProgramWithBuiltInKernels()
430 return context->cast<Context>().createProgramWithIL(il, length, errorCode); in CreateProgramWithIL()
435 program->cast<Program>().retain(); in RetainProgram()
441 Program &prog = program->cast<Program>(); in ReleaseProgram()
456 return program->cast<Program>().build(num_devices, device_list, options, pfn_notify, user_data); in BuildProgram()
469 return program->cast<Program>().compile(num_devices, device_list, options, num_input_headers, in CompileProgram()
484 return context->cast<Context>().linkProgram(num_devices, device_list, options, in LinkProgram()
508 return platform->cast<Platform>().unloadCompiler(); in UnloadPlatformCompiler()
517 return program->cast<Program>().getInfo(param_name, param_value_size, param_value, in GetProgramInfo()
528 return program->cast<Program>().getBuildInfo(device, param_name, param_value_size, param_value, in GetProgramBuildInfo()
534 return program->cast<Program>().createKernel(kernel_name, errorCode); in CreateKernel()
542 return program->cast<Program>().createKernels(num_kernels, kernels, num_kernels_ret); in CreateKernelsInProgram()
553 kernel->cast<Kernel>().retain(); in RetainKernel()
559 Kernel &krnl = kernel->cast<Kernel>(); in ReleaseKernel()
569 return kernel->cast<Kernel>().setArg(arg_index, arg_size, arg_value); in SetKernelArg()
593 return kernel->cast<Kernel>().getInfo(param_name, param_value_size, param_value, in GetKernelInfo()
604 return kernel->cast<Kernel>().getArgInfo(arg_index, param_name, param_value_size, param_value, in GetKernelArgInfo()
615 return kernel->cast<Kernel>().getWorkGroupInfo(device, param_name, param_value_size, in GetKernelWorkGroupInfo()
634 return (*event_list)->cast<Event>().getContext().waitForEvents(num_events, event_list); in WaitForEvents()
643 return event->cast<Event>().getInfo(param_name, param_value_size, param_value, in GetEventInfo()
649 return context->cast<Context>().createUserEvent(errorCode); in CreateUserEvent()
654 event->cast<Event>().retain(); in RetainEvent()
660 Event &evt = event->cast<Event>(); in ReleaseEvent()
670 return event->cast<Event>().setUserEventStatus(execution_status); in SetUserEventStatus()
680 return event->cast<Event>().setCallback(command_exec_callback_type, pfn_notify, user_data); in SetEventCallback()
689 return event->cast<Event>().getProfilingInfo(param_name, param_value_size, param_value, in GetEventProfilingInfo()
695 return command_queue->cast<CommandQueue>().flush(); in Flush()
700 return command_queue->cast<CommandQueue>().finish(); in Finish()
713 return command_queue->cast<CommandQueue>().enqueueReadBuffer( in EnqueueReadBuffer()
732 return command_queue->cast<CommandQueue>().enqueueReadBufferRect( in EnqueueReadBufferRect()
748 return command_queue->cast<CommandQueue>().enqueueWriteBuffer( in EnqueueWriteBuffer()
767 return command_queue->cast<CommandQueue>().enqueueWriteBufferRect( in EnqueueWriteBufferRect()
783 return command_queue->cast<CommandQueue>().enqueueFillBuffer( in EnqueueFillBuffer()
798 return command_queue->cast<CommandQueue>().enqueueCopyBuffer( in EnqueueCopyBuffer()
817 return command_queue->cast<CommandQueue>().enqueueCopyBufferRect( in EnqueueCopyBufferRect()
834 return command_queue->cast<CommandQueue>().enqueueReadImage( in EnqueueReadImage()
851 return command_queue->cast<CommandQueue>().enqueueWriteImage( in EnqueueWriteImage()
865 return command_queue->cast<CommandQueue>().enqueueFillImage( in EnqueueFillImage()
879 return command_queue->cast<CommandQueue>().enqueueCopyImage( in EnqueueCopyImage()
894 return command_queue->cast<CommandQueue>().enqueueCopyImageToBuffer( in EnqueueCopyImageToBuffer()
909 return command_queue->cast<CommandQueue>().enqueueCopyBufferToImage( in EnqueueCopyBufferToImage()
925 return command_queue->cast<CommandQueue>().enqueueMapBuffer( in EnqueueMapBuffer()
943 return command_queue->cast<CommandQueue>().enqueueMapImage( in EnqueueMapImage()
955 return command_queue->cast<CommandQueue>().enqueueUnmapMemObject( in EnqueueUnmapMemObject()
967 return command_queue->cast<CommandQueue>().enqueueMigrateMemObjects( in EnqueueMigrateMemObjects()
981 return command_queue->cast<CommandQueue>().enqueueNDRangeKernel( in EnqueueNDRangeKernel()
997 return command_queue->cast<CommandQueue>().enqueueNativeKernel( in EnqueueNativeKernel()
1007 return command_queue->cast<CommandQueue>().enqueueMarkerWithWaitList(num_events_in_wait_list, in EnqueueMarkerWithWaitList()
1016 return command_queue->cast<CommandQueue>().enqueueBarrierWithWaitList(num_events_in_wait_list, in EnqueueBarrierWithWaitList()
1108 return command_queue->cast<CommandQueue>().setProperty(properties, enable, old_properties); in SetCommandQueueProperty()
1120 return context->cast<Context>().createImage2D(flags, image_format, image_width, image_height, in CreateImage2D()
1135 return context->cast<Context>().createImage3D(flags, image_format, image_width, image_height, in CreateImage3D()
1142 return command_queue->cast<CommandQueue>().enqueueMarker(event); in EnqueueMarker()
1149 return command_queue->cast<CommandQueue>().enqueueWaitForEvents(num_events, event_list); in EnqueueWaitForEvents()
1154 return command_queue->cast<CommandQueue>().enqueueBarrier(); in EnqueueBarrier()
1179 return context->cast<Context>().createCommandQueue(device, properties, errorCode); in CreateCommandQueue()
1188 return context->cast<Context>().createSampler(normalized_coords, addressing_mode, filter_mode, in CreateSampler()
1198 return command_queue->cast<CommandQueue>().enqueueTask(kernel, num_events_in_wait_list, in EnqueueTask()