logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

cuda获取gpu当前显存

头文件:cuda_runtime_api.hstatic void gpu_helper(std::string info, bool print_info=false){size_t free_byte;size_t total_byte;cudaError_t cuda_status = cudaMemGetInfo(&free_byte, &total_byte);if (c

NVIDIA ampere显卡不支持cuda11以下的版本

参考目录:https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html,从参考目录中可以看见,cuda10系列不支持ampere架构的显卡

TensorRT setMaxWorkspaceSize的含义

NVIDIA的官方入门博客有一段说的比较详细TensorRT allows you to increase GPU memory footprint during the engine building phase with the setMaxWorkspaceSize function. Increasing the limit may affect the number of applica

MAC M1芯片 提示应用检查更新,请确定你已接入互联网

一、背景目前切换到了mac的工作环境下,安装钉钉和其他应用的时候的时候遇到了提示,很奇怪二、解决方案使用 Rosetta 2 进行转义。https://derflounder.wordpress.com/2020/11/17/installing-rosetta-2-on-apple-silicon-macs//usr/sbin/softwareupdate --install-rosetta(记

numpy:找到指定元素的索引

目的:在numpy数组中知道指定元素的索引函数: np.argwhere>>>x>>>array([[0, 1, 2],[3, 4, 5]])>>>np.argwhere(x>1)>>>array([[0, 2],[1

#numpy
    共 29 条
  • 1
  • 2
  • 3
  • 请选择