/external/skqp/src/gpu/gl/ |
GrGLTextureRenderTarget.cpp | 15 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, 21 : GrSurface(gpu, desc) 22 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) 23 , GrGLRenderTarget(gpu, desc, rtIDDesc) { 27 GrGLTextureRenderTarget::GrGLTextureRenderTarget(GrGLGpu* gpu, 32 : GrSurface(gpu, desc) 33 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) 34 , GrGLRenderTarget(gpu, desc, rtIDDesc) { 74 GrGLGpu* gpu, const GrSurfaceDesc& desc, const GrGLTexture::IDDesc& texIDDesc, 78 new GrGLTextureRenderTarget(gpu, desc, texIDDesc, rtIDDesc, mipMapsStatus)) [all...] |
GrGLPathRange.cpp | 13 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStyle& style) 14 : INHERITED(gpu, pathGenerator), 16 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())), 22 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, 27 : INHERITED(gpu, numPaths), 54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); local 55 if (nullptr == gpu) { 61 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); 65 GrGLPath::InitPathObjectEmptyPath(gpu, fBasePathID + index); 67 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, origSkPath) [all...] |
GrGLTexture.cpp | 19 const GrGLGpu* gpu) { 21 SkASSERT(gpu->caps()->shaderCaps()->externalTextureSupport()); 25 SkASSERT(gpu->glCaps().rectangleTextureSupport()); 52 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, 54 : GrSurface(gpu, desc) 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), 61 GrGLTexture::GrGLTexture(GrGLGpu* gpu, Wrapped, const GrSurfaceDesc& desc, 63 : GrSurface(gpu, desc) 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu) [all...] |
/external/skqp/src/gpu/vk/ |
GrVkResource.h | 114 Any GPU data associated with this resource will be freed before it's deleted. 116 void unref(const GrVkGpu* gpu) const { 118 SkASSERT(gpu); 123 this->internal_dispose(gpu); 127 /** Unref without freeing GPU data. Used only when we're abandoning the resource */ 154 virtual void freeGPUData(const GrVkGpu* gpu) const = 0; 166 void internal_dispose(const GrVkGpu* gpu) const { 167 this->freeGPUData(gpu); 203 void recycle(GrVkGpu* gpu) const { 205 this->onRecycle(gpu); [all...] |
GrVkCopyManager.cpp | 37 bool GrVkCopyManager::createCopyProgram(GrVkGpu* gpu) { 40 const GrShaderCaps* shaderCaps = gpu->caps()->shaderCaps(); 78 if (!GrCompileVkShaderModule(gpu, vertShaderText.c_str(), VK_SHADER_STAGE_VERTEX_BIT, 80 this->destroyResources(gpu); 85 if (!GrCompileVkShaderModule(gpu, fragShaderText.c_str(), VK_SHADER_STAGE_FRAGMENT_BIT, 87 this->destroyResources(gpu); 94 GrVkResourceProvider& resourceProvider = gpu->resourceProvider(); 117 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreatePipelineLayout(gpu->device(), 122 this->destroyResources(gpu); [all...] |
GrVkCopyManager.h | 30 bool copySurfaceAsDraw(GrVkGpu* gpu, 36 void destroyResources(GrVkGpu* gpu); 40 bool createCopyProgram(GrVkGpu* gpu);
|
GrVkDescriptorPool.h | 24 GrVkDescriptorPool(const GrVkGpu* gpu, VkDescriptorType type, uint32_t count); 28 void reset(const GrVkGpu* gpu); 42 void freeGPUData(const GrVkGpu* gpu) const override;
|
GrVkTexture.cpp | 18 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X) 30 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 36 : GrSurface(gpu, desc) 38 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), 46 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 53 : GrSurface(gpu, desc) 55 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), 64 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 70 : GrSurface(gpu, desc [all...] |
GrVkStencilAttachment.cpp | 14 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X) 16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu, 21 : GrStencilAttachment(gpu, desc.fWidth, desc.fHeight, format.fStencilBits, desc.fSamples) 29 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, 47 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { 51 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage, 55 GrVkImage::DestroyImageInfo(gpu, &info); 59 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, format, imageDesc, 61 imageView->unref(gpu); 80 GrVkGpu* gpu = this->getVkGpu(); local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
sparse_xent_op_test.cc | 51 /// The representative tests for ptb_word on GPU 52 BM_SparseXentDev(8, 1000000, gpu); 54 BM_SparseXentDev(16, 10000, gpu); 55 BM_SparseXentDev(16, 30000, gpu); 56 BM_SparseXentDev(16, 100000, gpu); 58 BM_SparseXentDev(32, 10000, gpu); 59 BM_SparseXentDev(32, 30000, gpu); 60 BM_SparseXentDev(32, 100000, gpu); 62 BM_SparseXentDev(64, 10000, gpu); 63 BM_SparseXentDev(64, 30000, gpu); [all...] |
bincount_op_test.cc | 65 BM_BincountDev(32, 1000, gpu); 66 BM_BincountDev(32, 2000, gpu); 67 BM_BincountDev(32, 5000, gpu); 68 BM_BincountDev(64, 1000, gpu); 69 BM_BincountDev(64, 2000, gpu); 70 BM_BincountDev(64, 5000, gpu); 71 BM_BincountDev(128, 1000, gpu); 72 BM_BincountDev(128, 2000, gpu); 73 BM_BincountDev(128, 5000, gpu);
|
/external/skia/src/gpu/vk/ |
GrVkCopyManager.cpp | 36 bool GrVkCopyManager::createCopyProgram(GrVkGpu* gpu) { 39 const GrShaderCaps* shaderCaps = gpu->caps()->shaderCaps(); 78 if (!GrCompileVkShaderModule(gpu, vertShaderText.c_str(), VK_SHADER_STAGE_VERTEX_BIT, 80 this->destroyResources(gpu); 85 if (!GrCompileVkShaderModule(gpu, fragShaderText.c_str(), VK_SHADER_STAGE_FRAGMENT_BIT, 87 this->destroyResources(gpu); 94 GrVkResourceProvider& resourceProvider = gpu->resourceProvider(); 117 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreatePipelineLayout(gpu->device(), 122 this->destroyResources(gpu); [all...] |
GrVkImage.cpp | 13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X) 28 void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, 62 gpu->addImageMemoryBarrier(srcStageMask, dstStageMask, byRegion, &imageMemoryBarrier); 67 bool GrVkImage::InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { 109 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateImage(gpu->device(), &imageCreateInfo, nullptr, 112 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, isLinear, &alloc)) { 113 VK_CALL(gpu, DestroyImage(gpu->device(), image, nullptr)) [all...] |
GrVkCopyManager.h | 30 bool copySurfaceAsDraw(GrVkGpu* gpu, 35 void destroyResources(GrVkGpu* gpu); 39 bool createCopyProgram(GrVkGpu* gpu);
|
GrVkDescriptorPool.h | 24 GrVkDescriptorPool(const GrVkGpu* gpu, VkDescriptorType type, uint32_t count); 28 void reset(const GrVkGpu* gpu); 42 void freeGPUData(const GrVkGpu* gpu) const override;
|
GrVkTexture.cpp | 18 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X) 26 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 32 : GrSurface(gpu, desc) 34 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), 42 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 49 : GrSurface(gpu, desc) 51 , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, highest_filter_mode(desc.fConfig), 60 GrVkTexture::GrVkTexture(GrVkGpu* gpu, 66 : GrSurface(gpu, desc [all...] |
GrVkStencilAttachment.cpp | 14 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X) 16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu, 21 : GrStencilAttachment(gpu, desc.fWidth, desc.fHeight, format.fStencilBits, desc.fSamples) 29 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, 47 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { 51 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage, 55 GrVkImage::DestroyImageInfo(gpu, &info); 59 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, format, imageDesc, 61 imageView->unref(gpu); 80 GrVkGpu* gpu = this->getVkGpu(); local [all...] |
/external/skia/src/gpu/gl/ |
GrGLPathRange.cpp | 13 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStyle& style) 14 : INHERITED(gpu, pathGenerator), 16 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())), 22 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, 27 : INHERITED(gpu, numPaths), 54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); local 55 if (nullptr == gpu) { 61 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); 65 GrGLPath::InitPathObjectEmptyPath(gpu, fBasePathID + index); 67 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, origSkPath) [all...] |
GrGLTexture.cpp | 19 const GrGLGpu* gpu) { 21 SkASSERT(gpu->caps()->shaderCaps()->externalTextureSupport()); 24 SkASSERT(gpu->glCaps().rectangleTextureSupport()); 43 GrGLTexture::GrGLTexture(GrGLGpu* gpu, SkBudgeted budgeted, const GrSurfaceDesc& desc, 45 : GrSurface(gpu, desc) 46 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), 52 GrGLTexture::GrGLTexture(GrGLGpu* gpu, Wrapped, const GrSurfaceDesc& desc, 54 : GrSurface(gpu, desc) 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu) [all...] |
/external/skia/tests/ |
VkClearTests.cpp | 8 // This is a GPU-backend specific test. It relies on static intializers to work 52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); 62 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo); 67 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); 69 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 77 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); 79 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 89 gpu->clear(rect, myColor, tex->asRenderTarget()); 91 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()) [all...] |
/external/skqp/tests/ |
VkClearTests.cpp | 8 // This is a GPU-backend specific test. It relies on static intializers to work 52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); 62 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo); 67 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); 69 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 77 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); 79 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 89 gpu->clear(rect, myColor, tex->asRenderTarget()); 91 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); 107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()) [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_batchnorm_rewriter.h | 23 namespace gpu { namespace in namespace:xla 52 // The GPU backend does not implement a lowering for the batchnorm HLOs -- it 63 } // namespace gpu
|
cudnn_convolution_rewriter.h | 23 namespace gpu { namespace in namespace:xla 36 } // namespace gpu
|
fusion_merger.h | 23 namespace gpu { namespace in namespace:xla 44 } // namespace gpu
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
gpu_backend_lib.h | 30 namespace gpu { namespace in namespace:xla 44 } // namespace gpu
|