Home | History | Annotate | Download | only in cuda

Lines Matching refs:port

22 #include "tensorflow/stream_executor/platform/port.h"
27 #include "tensorflow/stream_executor/platform/port.h"
65 static port::Status Init();
70 static port::StatusOr<CUdevice> DeviceFromContext(CudaContext* context);
92 static port::Status CreateEvent(CudaContext* context, CUevent *result,
98 static port::Status DestroyEvent(CudaContext* context, CUevent *event);
137 static port::Status GetDevice(int device_ordinal, CUdevice *device);
150 static port::Status CreateContext(CUdevice device,
176 static port::StatusOr<CUsharedconfig> ContextGetSharedMemConfig(
182 static port::Status ContextSetSharedMemConfig(
203 static port::Status LoadCubin(CudaContext* context, const char *cubin_bytes,
254 static port::Status SynchronousMemcpyD2H(CudaContext* context, void* host_dst,
256 static port::Status SynchronousMemcpyH2D(CudaContext* context,
259 static port::Status SynchronousMemcpyD2D(CudaContext* context,
307 static port::Status SynchronizeStream(CudaContext* context, CUstream stream);
327 static port::Status EnablePeerAccess(CudaContext* from, CudaContext* to);
339 static port::Status RecordEvent(CudaContext* context, CUevent event,
345 static port::StatusOr<CUresult> QueryEvent(CudaContext* context,
351 static port::StatusOr<CudaContext*> GetPointerContext(CUdeviceptr pointer);
354 static port::StatusOr<CUdevice> GetPointerDevice(CUdeviceptr pointer);
357 static port::StatusOr<MemorySpace> GetPointerMemorySpace(CUdeviceptr pointer);
360 static port::Status GetPointerAddressRange(CUdeviceptr dptr,
368 static port::Status GetComputeCapability(int *cc_major, int *cc_minor,
373 static port::StatusOr<int> GetMultiprocessorCount(CUdevice device);
377 static port::StatusOr<int64> GetMaxThreadsPerMultiprocessor(CUdevice device);
381 static port::StatusOr<int64> GetMaxThreadsPerBlock(CUdevice device);
385 static port::StatusOr<int64> GetMaxSharedMemoryPerCore(CUdevice device);
389 static port::StatusOr<int64> GetMaxSharedMemoryPerBlock(CUdevice device);
392 static port::StatusOr<int64> GetMaxRegistersPerBlock(CUdevice device);
395 static port::StatusOr<int64> GetThreadsPerWarp(CUdevice device);
450 static port::StatusOr<int> GetMaxOccupiedBlocksPerCore(