Home
last modified time | relevance | path

Searched refs:dev_dst (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_null_buffer_arg.cpp176 cl_mem dev_dst = clCreateBuffer(context, CL_MEM_WRITE_ONLY, buffer_size, in test_null_buffer_arg() local
180 status = clSetKernelArg(kernel, 1, sizeof(cl_mem), &dev_dst); in test_null_buffer_arg()
191 test_success = test_setargs_and_execution(queue, kernel, dev_src, dev_dst, NON_NULL_PATH); in test_null_buffer_arg()
192 test_success |= test_setargs_and_execution(queue, kernel, dev_src, dev_dst, ADDROF_NULL_PATH); in test_null_buffer_arg()
195 test_success |= test_setargs_and_execution(queue, kernel, dev_src, dev_dst, NULL_PATH); in test_null_buffer_arg()
200 clReleaseMemObject(dev_dst); in test_null_buffer_arg()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutor.cc61 bool XlaInterpreterExecutor::Memcpy(Stream *stream, DeviceMemoryBase *dev_dst, in Memcpy() argument
63 AsExecutorStream(stream)->EnqueueTask([this, dev_dst, host_src, size]() { in Memcpy()
64 port::Status ok = SynchronousMemcpy(dev_dst, host_src, size); in Memcpy()
71 DeviceMemoryBase *dev_dst, const void *host_src, uint64 size) { in SynchronousMemcpy() argument
72 memcpy(dev_dst->opaque(), host_src, size); in SynchronousMemcpy()
Dexecutor.h84 bool Memcpy(Stream *stream, DeviceMemoryBase *dev_dst, const void *host_src,
117 port::Status SynchronousMemcpy(DeviceMemoryBase *dev_dst,