cudaEventCreateWithFlags Interface

interface

Creates an event with the specified flags.


Called by

interface~~cudaeventcreatewithflags~~CalledByGraph interface~cudaeventcreatewithflags cudaEventCreateWithFlags proc~create~6 abstract_backend%create proc~create~6->interface~cudaeventcreatewithflags

public function cudaEventCreateWithFlags(event, flags) result(cudaError_t) bind(C, name="cudaEventCreateWithFlags")

Arguments

Type IntentOptional Attributes Name
type(cudaEvent) :: event

Event identifier

integer(kind=c_int), value :: flags

Flags for event creation

Return Value integer(kind=c_int)

Returns cudaSuccess if the event was created successfully, or an error code if there was an issue.