def safe_no_dnn_workmem(workmem):
    """
    Make sure the user is not attempting to use dnn.conv.workmem`.
    """
    if workmem:
        raise RuntimeError(
            'The option `dnn.conv.workmem` has been removed and should not be used anymore. Please use the option `dnn.conv.algo_fwd` instead.'
            )
    return True
